summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/Makefile.am
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-20 04:02:15 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-20 04:02:15 +0000
commit4e2f7c8e8fdcdb1dbf6f2346e13f46f8ce3eca48 (patch)
treedc679317f6b432fc872422476922d05a8aaab388 /libdimensionxx/Makefile.am
parente15353792ff60640e55e8a97c7737e0338289f97 (diff)
downloaddimension-4e2f7c8e8fdcdb1dbf6f2346e13f46f8ce3eca48.tar.xz
Add tmpfile() implementation of FILE_Cookie.
Diffstat (limited to 'libdimensionxx/Makefile.am')
-rw-r--r--libdimensionxx/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/libdimensionxx/Makefile.am b/libdimensionxx/Makefile.am
index 143ab83..74eb03b 100644
--- a/libdimensionxx/Makefile.am
+++ b/libdimensionxx/Makefile.am
@@ -23,6 +23,13 @@ INCLUDES = -I../libdimension -I../libdimension-png
lib_LTLIBRARIES = libdimensionxx.la
-libdimensionxx_la_SOURCES = $(nobase_include_HEADERS) canvas.cpp color.cpp cookie.cpp error.cpp png.cpp
+libdimensionxx_la_SOURCES = $(nobase_include_HEADERS) canvas.cpp color.cpp error.cpp png.cpp
+
+if FOPENCOOKIE
+ libdimensionxx_la_SOURCES += cookie-fopencookie.cpp
+else
+ libdimensionxx_la_SOURCES += cookie-tmpfile.cpp
+endif
+
libdimensionxx_la_LDFLAGS = -version-info 0:0:0
libdimensionxx_la_LIBADD = ../libdimension/libdimension.la ../libdimension-png/libdimension-png.la