diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-30 10:43:27 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-30 10:43:27 +0000 |
commit | d36a86a12c06e5f3d8c8f0ca2a2ca30283821298 (patch) | |
tree | d9871cc8ee7947113d09a3cdcb939bf0ca7d59a2 | |
parent | c174b13f8b8820d7fd8bc67a1da26e9697e5aff3 (diff) | |
download | curl-d36a86a12c06e5f3d8c8f0ca2a2ca30283821298.tar.gz |
buildconf.bat for CVS-tree c-ares
-rw-r--r-- | ares/Makefile.am | 2 | ||||
-rw-r--r-- | ares/buildconf.bat | 8 | ||||
-rw-r--r-- | buildconf.bat | 8 |
3 files changed, 17 insertions, 1 deletions
diff --git a/ares/Makefile.am b/ares/Makefile.am index a2c32a665..47083f510 100644 --- a/ares/Makefile.am +++ b/ares/Makefile.am @@ -46,7 +46,7 @@ noinst_PROGRAMS =$(PROGS) EXTRA_DIST = AUTHORS CHANGES README.cares Makefile.inc Makefile.dj \ Makefile.m32 Makefile.netware Makefile.vc6 $(man_MANS) $(MSVCFILES) \ config-win32.h RELEASE-NOTES libcares.pc.in buildconf get_ver.awk maketgz \ - TODO ares_build.h.in + TODO ares_build.h.in buildconf.bat DISTCLEANFILES = ares_build.h diff --git a/ares/buildconf.bat b/ares/buildconf.bat new file mode 100644 index 000000000..fc335aa9d --- /dev/null +++ b/ares/buildconf.bat @@ -0,0 +1,8 @@ +@echo off
+REM set up a CVS tree to build when there's no autotools
+REM $Revision$
+REM $Date$
+
+REM create ares_build.h
+copy /Y ares_build.h.dist ares_build.h
+
diff --git a/buildconf.bat b/buildconf.bat index 515256c12..5b646ccb2 100644 --- a/buildconf.bat +++ b/buildconf.bat @@ -11,3 +11,11 @@ copy Makefile.dist Makefile REM create curlbuild.h
copy include\curl\curlbuild.h.dist include\curl\curlbuild.h
+
+REM setup c-ares CVS tree
+if not exist ares\buildconf.bat goto end_c_ares
+cd ares
+call buildconf.bat
+cd ..
+:end_c_ares
+
|