summaryrefslogtreecommitdiffstats
path: root/tinySMS/Makefile.am
blob: 4035844af8cdd1522cb78a26a6f647798c7380e5 (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
lib_LTLIBRARIES         = libtinySMS.la
libtinySMS_la_LIBADD = ../tinySAK/libtinySAK.la
libtinySMS_la_CPPFLAGS = -I../tinySAK/src -Iinclude

libtinySMS_la_SOURCES = \
	src/tsms.c\
	src/tsms_address.c\
	src/tsms_common.c\
	src/tsms_packing.c
	
libtinySMS_la_SOURCES += src/rpdu/tsms_rpdu.c
	
libtinySMS_la_SOURCES += src/tpdu/tsms_tpdu_command.c\
	src/tpdu/tsms_tpdu_deliver.c\
	src/tpdu/tsms_tpdu_report.c\
	src/tpdu/tsms_tpdu_status_report.c\
	src/tpdu/tsms_tpdu_submit.c

libtinySMS_la_LDFLAGS = $LDFLAGS -no-undefined
if TARGET_OS_IS_ANDROID
libtinySMS_la_LDFLAGS += -static
endif

_includedir = $(includedir)/tinysms
_include_HEADERS = include/*.h
__includedir = $(includedir)/tinysms/tinysms
__include_HEADERS = include/tinysms/*.h
rpdu_includedir = $(includedir)/tinysms/tinysms/rpdu
rpdu_include_HEADERS = include/tinysms/rpdu/*.h
tpdu_includedir = $(includedir)/tinysms/tinysms/tpdu
tpdu_include_HEADERS = include/tinysms/tpdu/*.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = tinySMS.pc
OpenPOWER on IntegriCloud