+MISDN_INCLUDE = -DWITH_MISDN -DWITH_CRYPT
+MISDN_SOURCE = mISDN.cpp dss1.cpp loop.c crypt.cpp remote.cpp joinremote.cpp
+MISDN_LIB = -lmisdn
+
+endif
+
+GSM_INCLUDE =
+GSM_SOURCE =
+GSM_LIB =
+
+if ENABLE_GSM
+
+GSM_INCLUDE +=
+
+GSM_SOURCE += gsm_audio.c gsm.cpp
+
+GSM_LIB += /usr/lib/libgsm.a
+
+#gsm_audio.po: gsm_audio.c gsm_audio.h
+# $(CC) -D_GNU_SOURCE -fPIC -c gsm_audio.c -o gsm_audio.po
+
+endif
+
+if ENABLE_GSM_BS
+
+GSM_INCLUDE += -DWITH_GSM_BS
+
+GSM_SOURCE += gsm_bs.cpp
+
+endif
+
+if ENABLE_GSM_MS
+
+GSM_INCLUDE += -DWITH_GSM_MS
+
+GSM_SOURCE += gsm_ms.cpp
+
+endif
+
+if ENABLE_SS5
+
+SS5_INCLUDE = -DWITH_SS5
+
+SS5_SOURCE = ss5.cpp ss5_encode.c ss5_decode.c
+
+endif
+
+SIP_LIB =
+
+if ENABLE_SIP
+
+# FIXME: remove that
+#pkgconfigdir = $(libdir)/pkgconfig
+#pkgconfig_DATA = sofia-sip-ua.pc
+
+SIP_INCLUDE = -DWITH_SIP $(SOFIA_CFLAGS)
+
+SIP_SOURCE = sip.cpp
+
+SIP_LIB += $(SOFIA_LIBS)
+
+endif