X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=Makefile.am;h=296af85206a5919d9ea58598b9a473396bb260c3;hp=42ee168c6df1bcd731554e8c713eae0dc4203cb3;hb=79bd731c0db3e3202cfeed2af3fb217ae744b70f;hpb=35dee795ec17710cde6ebd939cb238850e8f7587 diff --git a/Makefile.am b/Makefile.am index 42ee168..296af85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,8 +53,6 @@ MISDN_LIB = -lmisdn endif -SUBDIRS = - GSM_INCLUDE = GSM_SOURCE = GSM_LIB = @@ -134,6 +132,18 @@ SIP_LIB += $(SOFIA_LIBS) endif +VOOTP_LIB = + +if ENABLE_VOOTP + +VOOTP_INCLUDE = -DWITH_VOOTP $(VOOTP_CFLAGS) + +VOOTP_SOURCE = + +VOOTP_LIB += $(VOOTP_LIBS) + +endif + bin_PROGRAMS = lcradmin gentones genwave sbin_PROGRAMS = lcr genrc genextension @@ -168,20 +178,22 @@ uninstall-hook: cd '$(DESTDIR)$(astmoddir)' && rm -f chan_lcr.so endif -AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include $(MISDN_INCLUDE) $(GSM_INCLUDE) $(SS5_INCLUDE) $(SIP_INCLUDE) -Wall $(INSTALLATION_DEFINES) +AM_CPPFLAGS = $(all_includes) $(MISDN_INCLUDE) $(GSM_INCLUDE) $(SS5_INCLUDE) $(SIP_INCLUDE) $(VOOTP_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 \ port.cpp vbox.cpp remote.cpp \ - $(MISDN_SOURCE) $(GSM_SOURCE) $(SS5_SOURCE) $(SIP_SOURCE) \ + $(MISDN_SOURCE) $(GSM_SOURCE) $(SS5_SOURCE) $(SIP_SOURCE) $(VOOTP_SOURCE) \ endpoint.cpp endpointapp.cpp \ appbridge.cpp apppbx.cpp route.c action.cpp action_efi.cpp action_vbox.cpp extension.c mail.c \ - join.cpp joinpbx.cpp + join.cpp joinpbx.cpp dov.cpp -lcr_LDADD = $(LIBCRYPTO) $(MISDN_LIB) -lpthread $(GSM_LIB) $(SIP_LIB) +lcr_LDADD = $(LIBCRYPTO) $(MISDN_LIB) -lpthread $(GSM_LIB) $(SIP_LIB) $(VOOTP_LIB) lcradmin_SOURCES = lcradmin.c cause.c options.c +lcradmin_LDADD = -lncurses + genextension_SOURCES = genext.c options.c extension.c @@ -191,7 +203,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