SS5: Special feature to mute only when also respoinding with a tone
[lcr.git] / Makefile.am
index b1fab38..6330219 100644 (file)
@@ -53,8 +53,6 @@ MISDN_LIB = -lmisdn
 
 endif
 
-SUBDIRS =
-
 GSM_INCLUDE =
 GSM_SOURCE =
 GSM_LIB =
@@ -149,16 +147,16 @@ EXTRA_chan_lcr_so_SOURCES = chan_lcr.c chan_lcr.h
 
 
 chan_lcr.po: chan_lcr.c chan_lcr.h
-       $(CC) $(INCLUDES) $(AST_CFLAGS) $(CPPFLAGS) $(CFLAGS) -D_GNU_SOURCE -fPIC -c $< -o $@
+       $(CC) $(AM_CPPFLAGS) $(AST_CFLAGS) $(CPPFLAGS) $(CFLAGS) -D_GNU_SOURCE -fPIC -c $< -o $@
 
 callerid.po: callerid.c callerid.h
-       $(CC) $(INCLUDES) -D_GNU_SOURCE $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
+       $(CC) $(AM_CPPFLAGS) -D_GNU_SOURCE $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
 
 options.po: options.c options.h
-       $(CC) $(INCLUDES) -D_GNU_SOURCE $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
+       $(CC) $(AM_CPPFLAGS) -D_GNU_SOURCE $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
 
 select.po: select.c select.h
-       $(CC) $(INCLUDES) -D_GNU_SOURCE $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
+       $(CC) $(AM_CPPFLAGS) -D_GNU_SOURCE $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
 
 install-exec-hook: chan_lcr.so
        $(INSTALL) -d '$(DESTDIR)$(astmoddir)'
@@ -168,7 +166,7 @@ uninstall-hook:
        cd '$(DESTDIR)$(astmoddir)' && rm -f chan_lcr.so
 endif
 
-INCLUDES = $(all_includes) -I$(top_srcdir)/include $(MISDN_INCLUDE) $(GSM_INCLUDE) $(SS5_INCLUDE) $(SIP_INCLUDE) -Wall $(INSTALLATION_DEFINES)
+AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include $(MISDN_INCLUDE) $(GSM_INCLUDE) $(SS5_INCLUDE) $(SIP_INCLUDE) -Wall $(INSTALLATION_DEFINES)
 
 lcr_SOURCES = \
        main.c select.c trace.c options.c tones.c alawulaw.c cause.c interface.c message.c callerid.c socket_server.c \
@@ -191,7 +189,7 @@ noinst_HEADERS = \
        message.h callerid.h socket_server.h port.h vbox.h endpoint.h endpointapp.h \
        appbridge.h apppbx.h route.h extension.h join.h joinpbx.h lcrsocket.h
 
-noinst_HEADERS += myisdn.h mISDN.h dss1.h crypt.h remote.h
+noinst_HEADERS += myisdn.h mISDN.h dss1.h crypt.h remote.h fxs.h
 noinst_HEADERS += ss5.h ss5_encode.h ss5_decode.h
 noinst_HEADERS += mncc.h gsm.h gsm_audio.h gsm_bs.h gsm_ms.h
 noinst_HEADERS += ie.cpp sip.h