X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=Makefile.am;h=296af85206a5919d9ea58598b9a473396bb260c3;hp=6330219060534a6b6dcef68973fb582b26e3fdba;hb=5566f74eb29be75da44e29ba72ee6f015249ce61;hpb=6a007f2fdee35b93048fb38c5d1ed20836901b57 diff --git a/Makefile.am b/Makefile.am index 6330219..296af85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -132,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 @@ -166,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