[asterisk-commits] branch crichter/1.2-mqueued - r8494 /team/crichter/1.2-mqueued/channels/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 23 10:22:58 MST 2006


Author: crichter
Date: Mon Jan 23 11:22:56 2006
New Revision: 8494

URL: http://svn.digium.com/view/asterisk?rev=8494&view=rev
Log:
misdn subdir will be compiled if mISDNuser is installed systemwide

Modified:
    team/crichter/1.2-mqueued/channels/Makefile

Modified: team/crichter/1.2-mqueued/channels/Makefile
URL: http://svn.digium.com/view/asterisk/team/crichter/1.2-mqueued/channels/Makefile?rev=8494&r1=8493&r2=8494&view=diff
==============================================================================
--- team/crichter/1.2-mqueued/channels/Makefile (original)
+++ team/crichter/1.2-mqueued/channels/Makefile Mon Jan 23 11:22:56 2006
@@ -81,7 +81,7 @@
   CHANNEL_LIBS+=chan_h323.so
 endif
 
-ifneq ($(wildcard misdn/chan_misdn_lib.a),)
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/mISDNuser/mISDNlib.h),)
   CHANNEL_LIBS+=chan_misdn.so
   CFLAGS+=-Imisdn 
 endif
@@ -234,6 +234,9 @@
 	$(CC) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat
 endif
 
+misdn/chan_misdn_lib.a:
+	make -C misdn
+
 chan_misdn.so: chan_misdn.o chan_misdn_config.o misdn/chan_misdn_lib.a
 	$(CC) -shared -Xlinker -x -L/usr/lib -o $@ $^ -lisdnnet -lmISDN
 



More information about the asterisk-commits mailing list