summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/Makefile.am
diff options
context:
space:
mode:
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