From dded84b14d39bea4e1b8c427e9dd490f14d79d1c Mon Sep 17 00:00:00 2001 From: Kirill Simonov Date: Sat, 27 Dec 2008 22:55:39 +0000 Subject: [PATCH] Added autoconf rules to distribute win32 project files. --- Makefile.am | 4 ++-- configure.ac | 2 +- win32/Makefile.am | 24 ++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 win32/Makefile.am diff --git a/Makefile.am b/Makefile.am index 1cf4114..7835b61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ## Run `./bootstrap` to generate the "Makefile.in" files in this directory and -## the "$SUBDIR" subdirectories. +## the "$SUBDIRS" subdirectories. -SUBDIRS = include src . tests +SUBDIRS = include src . tests win32 EXTRA_DIST = README LICENSE doc/doxygen.cfg diff --git a/configure.ac b/configure.ac index f494c1a..32bc8dd 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ AC_C_CONST AC_TYPE_SIZE_T # Define Makefiles. -AC_CONFIG_FILES([include/Makefile src/Makefile Makefile tests/Makefile]) +AC_CONFIG_FILES([include/Makefile src/Makefile Makefile tests/Makefile win32/Makefile]) # Generate the "configure" script. AC_OUTPUT diff --git a/win32/Makefile.am b/win32/Makefile.am new file mode 100644 index 0000000..d225c3e --- /dev/null +++ b/win32/Makefile.am @@ -0,0 +1,24 @@ + +VC6_FILES = vc6/libyaml.dsw vc6/yaml.dsp vc6/yamldll.dsp \ + vc6/test_version.dsp vc6/test_reader.dsp \ + vc6/run_scanner.dsp vc6/run_parser.dsp \ + vc6/run_loader.dsp vc6/run_emitter.dsp vc6/run_dumper.dsp \ + vc6/example_reformatter.dsp vc6/example_reformatter_alt.dsp \ + vc6/example_deconstructor.dsp vc6/example_deconstructor_alt.dsp + +VS2003_FILES = vs2003/libyaml.sln vs2003/yaml.vcproj vs2003/yamldll.vcproj \ + vs2003/test_version.vcproj vs2003/test_reader.vcproj \ + vs2003/run_scanner.vcproj vs2003/run_parser.vcproj \ + vs2003/run_loader.vcproj vs2003/run_emitter.vcproj vs2003/run_dumper.vcproj \ + vs2003/example_reformatter.vcproj vs2003/example_reformatter_alt.vcproj \ + vs2003/example_deconstructor.vcproj vs2003/example_deconstructor_alt.vcproj + +VS2008_FILES = vs2008/libyaml.sln vs2008/yaml.vcproj vs2008/yamldll.vcproj \ + vs2008/test_version.vcproj vs2008/test_reader.vcproj \ + vs2008/run_scanner.vcproj vs2008/run_parser.vcproj \ + vs2008/run_loader.vcproj vs2008/run_emitter.vcproj vs2008/run_dumper.vcproj \ + vs2008/example_reformatter.vcproj vs2008/example_reformatter_alt.vcproj \ + vs2008/example_deconstructor.vcproj vs2008/example_deconstructor_alt.vcproj + +EXTRA_DIST = config.h $(VC6_FILES) $(VS2003_FILES) $(VS2008_FILES) + -- 2.45.1