[libss7-commits] file: trunk r142 - /trunk/Makefile
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Thu Feb 21 12:22:43 CST 2008
Author: file
Date: Thu Feb 21 12:22:42 2008
New Revision: 142
URL: http://svn.digium.com/view/libss7?view=rev&rev=142
Log:
Only build ss7test and ss7linktest if the zaptel headers are available.
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/libss7/trunk/Makefile?view=diff&rev=142&r1=141&r2=142
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu Feb 21 12:22:42 2008
@@ -14,7 +14,13 @@
SOFLAGS=-Wl,-hlibss7.so.1
LDCONFIG=/sbin/ldconfig
-all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) ss7test ss7linktest parser_debug
+UTILITIES=parser_debug
+
+ifneq ($(wildcard /usr/include/zaptel/zaptel.h),)
+ UTILITIES+=ss7test ss7linktest
+endif
+
+all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) $(UTILITIES)
%.lo : %.c
$(CC) -g -fPIC $(CFLAGS) -o $@ -c $<
More information about the libss7-commits
mailing list