aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-07 09:41:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-07 09:41:05 +0000
commitfbdc1b1e3d3507da2f5753fd91d1a33095569ea0 (patch)
tree0fefd007738f74c58f793c81d9abd61f1aded744 /lib/Makefile.am
parente942df755bdafd6089ce9b80c3f5b60bd7cf3496 (diff)
Generate curllib.dsp on dist.time from msvcproj.head msvcproj.foot and the
known source files. Not actually verified to work yet.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 7a3365971..1336bd2ca 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -28,7 +28,7 @@ EXTRA_DIST = getdate.y Makefile.b32 Makefile.b32.resp Makefile.m32 \
ca-bundle.crt README.encoding README.memoryleak README.ares README.curlx \
makefile.dj config.dj libcurl.framework.make libcurl.plist libcurl.rc \
config-amigaos.h amigaos.c amigaos.h makefile.amiga config-netware.h \
- Makefile.netware nwlib.c libcurl.imp
+ Makefile.netware nwlib.c libcurl.imp msvcproj.head msvcproj.foot
lib_LTLIBRARIES = libcurl.la
@@ -97,6 +97,8 @@ libcurl_la_SOURCES = arpa_telnet.h file.c netrc.h timeval.c base64.c \
hostip4.c hostip6.c hostsyn.c hostthre.c inet_ntop.c inet_ntop.h \
curlx.h
+WIN32_SOURCES = $(libcurl_la_SOURCES) config-win32.h
+
noinst_HEADERS = setup.h transfer.h
BUILT_SOURCES = $(srcdir)/getdate.c $(top_builddir)/lib/ca-bundle.h
@@ -129,3 +131,13 @@ install-data-hook:
dist-hook:
chmod 0644 $(distdir)/ca-bundle.h
echo "/* ca bundle path set in here*/" > $(distdir)/ca-bundle.h
+
+curllib.dsp: msvcproj.head msvcproj.foot Makefile.am
+ cp msvcproj.head curllib.dsp
+ (for file in $(WIN32_SOURCES); do \
+ echo "# Begin Source File" >> curllib.dsp; \
+ echo "" >> curllib.dsp; \
+ echo "SOURCE=.\\"$$file >> curllib.dsp; \
+ echo "# End Source File" >> curllib.dsp; \
+ done; \
+ cat msvcproj.foot >> curllib.dsp )