Add GSM full rate codec to LCR's source repository
[lcr.git] / Makefile.am
index 8da7b3f..e35f6f0 100644 (file)
@@ -46,27 +46,30 @@ INSTALLATION_DEFINES = \
 if ENABLE_MISDN
 
 MISDN_INCLUDE = -DWITH_MISDN -DWITH_CRYPT
-MISDN_SOURCE = mISDN.cpp dss1.cpp crypt.cpp
+MISDN_SOURCE = mISDN.cpp fxs.cpp dss1.cpp crypt.cpp
 MISDN_LIB = -lmisdn
 
 endif
 
+SUBDIRS =
+
 GSM_INCLUDE =
 GSM_SOURCE =
 GSM_LIB =
 
 if ENABLE_GSM
 
-GSM_INCLUDE +=
+#if ENABLE_GSMHR
 
-GSM_SOURCE += gsm_audio.c gsm.cpp
-  
-GSM_LIB += /usr/lib/libgsm.a
+GSM_INCLUDE += -DWITH_GSMFR
 
-#gsm_audio.po: gsm_audio.c gsm_audio.h
-#      $(CC) -D_GNU_SOURCE -fPIC -c gsm_audio.c -o gsm_audio.po
+GSM_LIB += libgsmfr/lib/libgsm.a
 
-endif
+SUBDIRS += libgsmfr
+
+#endif
+
+GSM_SOURCE += gsm_audio.c gsm.cpp
 
 if ENABLE_GSM_BS
 
@@ -83,6 +86,8 @@ GSM_INCLUDE += -DWITH_GSM_MS
 GSM_SOURCE += gsm_ms.cpp
 
 endif
+endif
+
 
 if ENABLE_SS5