Add GSM full rate codec to LCR's source repository
[lcr.git] / Makefile.am
index e802edc..e35f6f0 100644 (file)
@@ -51,22 +51,25 @@ 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