summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am41
1 files changed, 13 insertions, 28 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4017338..54a4924 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -115,34 +115,19 @@ libcroco_0_6_la_LIBADD = \
EXTRA_DIST = libcroco.symbols
-dist-hook: ../build/win32/vs9/croco.vcproj ../build/win32/vs10/croco.vcxproj ../build/win32/vs10/croco.vcxproj.filters
+# MSVC Build Items
-../build/win32/vs9/croco.vcproj: $(top_srcdir)/build/win32/vs9/croco.vcprojin
- for F in $(libcroco_0_6_la_SOURCES); do \
- case $$F in \
- *.c) echo ' <File RelativePath="..\..\..\src\'$$F'" />' \
- ;; \
- esac; \
- done >libcroco.sourcefiles
- $(CPP) -P - <$(top_srcdir)/build/win32/vs9/croco.vcprojin >$@
- rm libcroco.sourcefiles
+MSVCPROJS = croco
-../build/win32/vs10/croco.vcxproj: $(top_srcdir)/build/win32/vs10/croco.vcxprojin
- for F in $(libcroco_0_6_la_SOURCES); do \
- case $$F in \
- *.c) echo ' <ClCompile Include="..\..\..\src\'$$F'" />' \
- ;; \
- esac; \
- done >libcroco.vs10.sourcefiles
- $(CPP) -P - <$(top_srcdir)/build/win32/vs10/croco.vcxprojin >$@
- rm libcroco.vs10.sourcefiles
+croco_FILES = $(libcroco_0_6_la_SOURCES)
+croco_EXCLUDES = dummy
-../build/win32/vs10/croco.vcxproj.filters: $(top_srcdir)/build/win32/vs10/croco.vcxproj.filtersin
- for F in $(libcroco_0_6_la_SOURCES); do \
- case $$F in \
- *.c) echo ' <ClCompile Include="..\..\..\src\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
- ;; \
- esac; \
- done >libcroco.vs10.sourcefiles.filters
- $(CPP) -P - <$(top_srcdir)/build/win32/vs10/croco.vcxproj.filtersin >$@
- rm libcroco.vs10.sourcefiles.filters
+croco_HEADERS_DIR = $(crocoincdir)
+croco_HEADERS_INST = $(crocoinc_HEADERS)
+croco_HEADERS_EXCLUDES = dummy
+
+include $(top_srcdir)/build/Makefile.msvcproj
+
+dist-hook: \
+ $(top_builddir)/build/win32/vs9/croco.vcproj \
+ $(top_builddir)/build/win32/vs9/croco.headers