summaryrefslogtreecommitdiff
path: root/src/gsmd/Makefile.am
blob: 9ac45ee1404a6cfb32bbd4fc9688747450daed3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS = -std=gnu99
plugindir = $(libdir)/gsmd

gsmd-version.h:
	echo -e '#ifndef GSMD_VERSION' \
	'\n#define GSMD_VERSION "'`svnversion`'"' \
	'\n#endif' > gsmd-version.h

BUILT_SOURCES = gsmd-version.h
sbin_PROGRAMS = gsmd

gsmd_CFLAGS = -D PLUGINDIR=\"$(plugindir)\"
gsmd_SOURCES = gsmd.c atcmd.c select.c machine.c vendor.c unsolicited.c log.c \
	       usock.c talloc.c timer.c operator_cache.c ext_response.c \
	       sms_cb.c sms_pdu.c
gsmd_LDADD = -ldl
gsmd_LDFLAGS = -Wl,--export-dynamic

plugin_LTLIBRARIES = libgsmd-machine_generic.la \
		     libgsmd-machine_tihtc.la \
		     libgsmd-vendor_ti.la \
		     libgsmd-vendor_tihtc.la \
		     libgsmd-vendor_qc.la \
		     libgsmd-vendor_bcm.la

libgsmd_machine_generic_la_SOURCES = machine_generic.c
libgsmd_machine_generic_la_LDFLAGS = -module
libgsmd_machine_tihtc_la_SOURCES = machine_tihtc.c
libgsmd_machine_tihtc_la_LDFLAGS = -module

libgsmd_vendor_ti_la_SOURCES = vendor_ti.c
libgsmd_vendor_ti_la_LDFLAGS = -module
libgsmd_vendor_tihtc_la_SOURCES = vendor_tihtc.c
libgsmd_vendor_tihtc_la_LDFLAGS = -module
libgsmd_vendor_qc_la_SOURCES = vendor_qc.c
libgsmd_vendor_qc_la_LDFLAGS = -module
libgsmd_vendor_bcm_la_SOURCES = vendor_bcm.c
libgsmd_vendor_bcm_la_LDFLAGS = -module


noinst_HEADERS = gsmd.h
personal git repositories of Harald Welte. Your mileage may vary