mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fixed install target to create a ca-bundle.crt since we have no longer one in the project.
This commit is contained in:
parent
058e764af8
commit
79aa6c841e
@ -74,6 +74,7 @@ ifdef METROWERKS
|
|||||||
else
|
else
|
||||||
CC = gcc
|
CC = gcc
|
||||||
endif
|
endif
|
||||||
|
PERL = perl
|
||||||
# a native win32 awk can be downloaded from here:
|
# a native win32 awk can be downloaded from here:
|
||||||
# http://www.gknw.net/development/prgtools/awk-20070501.zip
|
# http://www.gknw.net/development/prgtools/awk-20070501.zip
|
||||||
AWK = awk
|
AWK = awk
|
||||||
@ -170,6 +171,7 @@ ifdef WITH_SSL
|
|||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
|
||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
||||||
IMPORTS += GetProcessSwitchCount RunningProcess
|
IMPORTS += GetProcessSwitchCount RunningProcess
|
||||||
|
INSTDEP += ca-bundle.crt
|
||||||
endif
|
endif
|
||||||
ifdef WITH_ZLIB
|
ifdef WITH_ZLIB
|
||||||
INCLUDES += -I$(ZLIB_PATH)
|
INCLUDES += -I$(ZLIB_PATH)
|
||||||
@ -241,7 +243,7 @@ dist: all
|
|||||||
-$(RM) $(OBJDIR)/*.o $(OBJDIR)/$(TARGET).map $(OBJDIR)/$(TARGET).ncv
|
-$(RM) $(OBJDIR)/*.o $(OBJDIR)/$(TARGET).map $(OBJDIR)/$(TARGET).ncv
|
||||||
-$(RM) $(OBJDIR)/$(TARGET).def $(OBJDIR)/version.inc $(XDCDATA)
|
-$(RM) $(OBJDIR)/$(TARGET).def $(OBJDIR)/version.inc $(XDCDATA)
|
||||||
|
|
||||||
install: $(INSTDIR) all
|
install: $(INSTDIR) all $(INSTDEP)
|
||||||
@$(CP) $(TARGET).nlm $(INSTDIR)
|
@$(CP) $(TARGET).nlm $(INSTDIR)
|
||||||
@$(CP) $(TARGET).$(LIBEXT) $(INSTDIR)
|
@$(CP) $(TARGET).$(LIBEXT) $(INSTDIR)
|
||||||
@$(CP) ../CHANGES $(INSTDIR)
|
@$(CP) ../CHANGES $(INSTDIR)
|
||||||
@ -249,7 +251,7 @@ install: $(INSTDIR) all
|
|||||||
@$(CP) ../README $(INSTDIR)
|
@$(CP) ../README $(INSTDIR)
|
||||||
@$(CP) ../RELEASE-NOTES $(INSTDIR)
|
@$(CP) ../RELEASE-NOTES $(INSTDIR)
|
||||||
ifdef WITH_SSL
|
ifdef WITH_SSL
|
||||||
@$(CP) ca-bundle.crt $(INSTDIR)
|
@-$(CP) ca-bundle.crt $(INSTDIR)/ca-bundle.crt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -260,10 +262,10 @@ distclean: clean
|
|||||||
-$(RM) -r $(TARGET).$(LIBEXT) $(TARGET).nlm
|
-$(RM) -r $(TARGET).$(LIBEXT) $(TARGET).nlm
|
||||||
|
|
||||||
$(INSTDIR):
|
$(INSTDIR):
|
||||||
@mkdir $(INSTDIR)
|
@mkdir $@
|
||||||
|
|
||||||
$(OBJDIR):
|
$(OBJDIR):
|
||||||
@mkdir $(OBJDIR)
|
@mkdir $@
|
||||||
|
|
||||||
$(TARGET).$(LIBEXT): $(OBJS)
|
$(TARGET).$(LIBEXT): $(OBJS)
|
||||||
@echo Creating $@
|
@echo Creating $@
|
||||||
@ -574,4 +576,8 @@ endif
|
|||||||
$(ARES_LIB)/libcares.$(LIBEXT):
|
$(ARES_LIB)/libcares.$(LIBEXT):
|
||||||
$(MAKE) -C $(ARES_LIB) -f Makefile.netware lib
|
$(MAKE) -C $(ARES_LIB) -f Makefile.netware lib
|
||||||
|
|
||||||
|
ca-bundle.crt: mk-ca-bundle.pl
|
||||||
|
@echo Creating $@
|
||||||
|
@-$(PERL) $< -b -n $@
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user