aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.m3211
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 7d5b485d4..aad3b35b9 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -103,7 +103,7 @@ RESOURCE = libcurl.res
.SUFFIXES: .rc .res
-all: $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY)
+all: ca-bundle.h $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY)
$(libcurl_a_LIBRARY): $(libcurl_a_OBJECTS) $(libcurl_a_DEPENDENCIES)
-$(RM) $@
@@ -125,11 +125,18 @@ $(libcurl_dll_LIBRARY): $(libcurl_a_OBJECTS) $(RESOURCE) $(libcurl_dll_DEPENDENC
$(RC) $(RCFLAGS) $< -o $@
clean:
- -$(RM) $(libcurl_a_OBJECTS) $(RESOURCE)
+ -$(RM) $(libcurl_a_OBJECTS) $(RESOURCE) ca-bundle.h
distrib: clean
-$(RM) $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY) $(libcurl_dll_a_LIBRARY)
+FORCE: ;
+
+ca-bundle.h: FORCE Makefile.m32
+ @echo Creating $@
+ @echo $(DL)/* Do not edit this file - it is created by make!$(DL) > $@
+ @echo $(DL)*/$(DL) >> $@
+
$(ARES_LIB)/libcares.a:
$(MAKE) -C $(ARES_LIB) -f Makefile.m32