aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-01-17 08:50:13 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-01-17 08:50:13 +0000
commit0d1512e0cbb5f95530d41fa4d48fa79bcec87ea5 (patch)
tree41e175db03a10a1ed7bd9789e2ba2522863f2776 /src
parentccaf14a04445df383990b43ce2c19993e11bb984 (diff)
allow to build simultaneously as library and 1-object-per-file lib
using '--enable-library=both' svn path=/trunk/externals/zexy/; revision=15879
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 42613de..8ab1f84 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,7 +19,8 @@ AM_LDFLAGS+=
if LIBRARY
pkglib_LTLIBRARIES+=zexy.la
-else
+endif LIBRARY
+if SINGLEOBJECTS
pkglib_LTLIBRARIES+= \
0x260x260x7e.la \
0x2e.la \
@@ -115,7 +116,7 @@ pkglib_LTLIBRARIES+= \
urn.la \
wrap.la \
z~.la
-endif
+endif SINGLEOBJECTS
zexy_la_CPPFLAGS=-DZEXY_LIBRARY