summaryrefslogtreecommitdiffstats
path: root/common/zlib
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-10-27 07:20:27 +0000
committerDRC <dcommander@users.sourceforge.net>2010-10-27 07:20:27 +0000
commit180c0167b41bfcbfa33cd6a145ee0dc7b62505b2 (patch)
treeef4e2b196de5f2d3889a6a2fa98d4968eea9be6e /common/zlib
parent7d5d536b73fb70a91a9e88a9bbcb75660caa695c (diff)
downloadtigervnc-180c0167b41bfcbfa33cd6a145ee0dc7b62505b2.tar.gz
tigervnc-180c0167b41bfcbfa33cd6a145ee0dc7b62505b2.zip
CMake build system for Windows
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4171 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/zlib')
-rw-r--r--common/zlib/CMakeLists.txt18
-rw-r--r--common/zlib/Makefile.am8
2 files changed, 23 insertions, 3 deletions
diff --git a/common/zlib/CMakeLists.txt b/common/zlib/CMakeLists.txt
new file mode 100644
index 00000000..3f1db1b8
--- /dev/null
+++ b/common/zlib/CMakeLists.txt
@@ -0,0 +1,18 @@
+add_definitions(-DNO_VIZ -DWINDOWS)
+
+add_library(zlib STATIC
+ adler32.c
+ compress.c
+ crc32.c
+ deflate.c
+ gzclose.c
+ gzlib.c
+ gzread.c
+ gzwrite.c
+ inflate.c
+ infback.c
+ inftrees.c
+ inffast.c
+ trees.c
+ uncompr.c
+ zutil.c)
diff --git a/common/zlib/Makefile.am b/common/zlib/Makefile.am
index a8c73184..743ac5c0 100644
--- a/common/zlib/Makefile.am
+++ b/common/zlib/Makefile.am
@@ -3,6 +3,8 @@ noinst_LTLIBRARIES = libz.la
HDRS = deflate.h infblock.h infcodes.h inffast.h inffixed.h inftrees.h \
infutil.h trees.h zconf.h zlib.h zutil.h
-libz_la_SOURCES = $(HDRS) adler32.c compress.c crc32.c deflate.c gzclose.c \
- gzlib.c gzread.c gzwrite.c inflate.c infback.c inftrees.c inffast.c \
- trees.c uncompr.c zutil.c
+libz_la_SOURCES = $(HDRS) adler32.c compress.c crc32.c deflate.c gzclose.c \
+ gzlib.c gzread.c gzwrite.c inflate.c infback.c inftrees.c inffast.c \
+ trees.c uncompr.c zutil.c
+
+EXTRA_DIST = CMakeLists.txt