Commit ee51c07b authored by Guenter Knauf's avatar Guenter Knauf
Browse files

enabled build with hardcoded ca-bundle path;

added distclean target.
parent 856ba4c6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -220,6 +220,9 @@ clean:
	-$(RM) config.h ca-bundle.h
	-$(RM) -r $(OBJDIR)

distclean: clean
	-$(RM) -r $(TARGET).lib $(TARGET).nlm

$(INSTDIR):
	@mkdir $(INSTDIR)

@@ -434,12 +437,19 @@ ca-bundle.h: FORCE Makefile.netware
	@echo $(DL)/* Do not edit this file - it is created by make!$(DL) > $@
	@echo $(DL)** All your changes will be lost!!$(DL) >> $@
	@echo $(DL)*/$(DL) >> $@
ifdef CABUNDLE
	@echo $(DL)#define CURL_CA_BUNDLE "$(CABUNDLE)"$(DL) >> $@
else
	@echo $(DL)#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")$(DL) >> $@
endif

info: $(OBJDIR)/version.inc
	@echo Configured to build $(TARGET) with these options:
	@echo curl version:    $(LIBCURL_VERSION_STR)
	@echo compiler/linker: $(CC) / $(LD)
ifdef CABUNDLE
	@echo ca-bundle path:  $(CABUNDLE)
endif
ifdef WITH_SSL
	@echo SSL support:     enabled (OpenSSL)
else
+3 −0
Original line number Diff line number Diff line
@@ -198,6 +198,9 @@ endif
	-$(RM) config.h
	-$(RM) -r $(OBJDIR)

distclean: clean
	-$(RM) -r $(TARGET).nlm

$(INSTDIR):
	@mkdir $(INSTDIR)