From: Daniel Stenberg Date: Tue, 25 Jul 2006 22:06:42 +0000 (+0000) Subject: Michael Jerris added magic that builds lib/curllib.vcproj automatically (for X-Git-Tag: upstream/7.37.1~10171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78a47826b26d666586dc98028f38b5a0d6f59ad2;p=platform%2Fupstream%2Fcurl.git Michael Jerris added magic that builds lib/curllib.vcproj automatically (for newer MSVC versions) --- diff --git a/CHANGES b/CHANGES index 67ea606..d2c219b 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changelog +Daniel (26 July 2006) +- Michael Jerris added magic that builds lib/curllib.vcproj automatically for + newer MSVC. + Daniel (25 July 2006) - Georg Horn made the transfer timeout error message include more details. diff --git a/lib/Makefile.am b/lib/Makefile.am index aad2d61..3b0d077 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -23,6 +23,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc DSP = curllib.dsp +VCPROJ = curllib.vcproj DOCS = README.encoding README.memoryleak README.ares README.curlx \ README.hostip README.multi_socket README.httpauth README.pipelining @@ -33,9 +34,9 @@ EXTRA_DIST = Makefile.b32 Makefile.m32 Makefile.vc6 Makefile.riscos \ libcurl.framework.make libcurl.plist libcurl.rc config-amigaos.h \ amigaos.c amigaos.h makefile.amiga Makefile.netware nwlib.c \ libcurl.imp msvcproj.head msvcproj.foot config-win32ce.h \ - Makefile.Watcom config-tpf.h $(DOCS) + Makefile.Watcom config-tpf.h $(DOCS) $(VCPROJ) -CLEANFILES = $(DSP) +CLEANFILES = $(DSP) $(VCPROJ) lib_LTLIBRARIES = libcurl.la @@ -121,6 +122,7 @@ dist-hook: echo "/* ca bundle path set in here*/" > $(distdir)/ca-bundle.h DSPOUT = | awk '{printf("%s\r\n", $$0)}' >> $(DSP) +VCPROJOUT = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ) $(DSP): msvcproj.head msvcproj.foot Makefile.am echo "creating $(DSP)" @@ -142,3 +144,15 @@ $(DSP): msvcproj.head msvcproj.foot Makefile.am done; \ echo "# End Group" $(DSPOUT); \ cat $(srcdir)/msvcproj.foot $(DSPOUT) ) + +$(VCPROJ): vc8proj.head vc8proj.foot Makefile.am + echo "creating $(VCPROJ)" + @(cp $(srcdir)/vc8proj.head $(VCPROJ); \ + for file in $(WIN32SOURCES); do \ + echo "" $(VCPROJOUT); \ + done; \ + echo "" $(VCPROJOUT); \ + for file in $(WIN32HEADERS); do \ + echo "" $(VCPROJOUT); \ + done; \ + cat $(srcdir)/vc8proj.foot $(VCPROJOUT) ) diff --git a/lib/vc8proj.foot b/lib/vc8proj.foot new file mode 100644 index 0000000..9dc63c2 --- /dev/null +++ b/lib/vc8proj.foot @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/lib/vc8proj.head b/lib/vc8proj.head new file mode 100644 index 0000000..523eeb9 --- /dev/null +++ b/lib/vc8proj.head @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +