X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=Makefile.am;h=11a2beb959b72da820675d5e73ddda4d3163b210;hp=11eeb2c45123b37e020e5853dd3fdab9a3b3da20;hb=a3b269f357b7e6b74d91a942f874ee041320dce7;hpb=9b2cabced47630e31cfc57c1384af805170b6d2f diff --git a/Makefile.am b/Makefile.am index 11eeb2c..11a2beb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,6 +43,8 @@ INSTALLATION_DEFINES = \ -DLOG_DIR="\"$(LOGdir)\"" \ -DEXTENSION_DATA="\"$(EXTENSIONdir)\"" +SUBDIRS = include + if ENABLE_MISDN MISDN_INCLUDE = -DWITH_MISDN -DWITH_CRYPT @@ -59,7 +61,7 @@ GSM_LIB = if ENABLE_GSM -#if ENABLE_GSMHR +#if ENABLE_GSMFR GSM_INCLUDE += -DWITH_GSMFR @@ -69,6 +71,16 @@ SUBDIRS += libgsmfr #endif +if ENABLE_GSMHR + +GSM_INCLUDE += -DWITH_GSMHR + +GSM_LIB += libgsmhr/libgsmhr.la + +SUBDIRS += libgsmhr + +endif + if ENABLE_GSMAMR GSM_INCLUDE += -DWITH_GSMAMR @@ -156,7 +168,7 @@ uninstall-hook: cd '$(DESTDIR)$(astmoddir)' && rm -f chan_lcr.so endif -INCLUDES = $(all_includes) $(MISDN_INCLUDE) $(GSM_INCLUDE) $(SS5_INCLUDE) $(SIP_INCLUDE) -Wall $(INSTALLATION_DEFINES) +INCLUDES = $(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 \