aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-11-07 08:32:31 +0100
committerHarald Welte <laforge@gnumonks.org>2012-11-07 08:32:31 +0100
commit4b233b4f3b22f79c2bdd60703d309c9929f74ab6 (patch)
tree91b2622eb54d509b5c78896aca56babc120f1b7b /src/Makefile.am
initial import of libsmpp34-1.101.10
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..940fd0a
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,28 @@
+
+# src/Makefile.am #
+lib_LTLIBRARIES = libsmpp34.la
+
+LIBRARY_SOURCE_DIR = $(top_srcdir)/src
+libsmpp34_la_SOURCES = \
+ $(LIBRARY_SOURCE_DIR)/smpp34.h \
+ $(LIBRARY_SOURCE_DIR)/smpp34_dumpBuf.c \
+ $(LIBRARY_SOURCE_DIR)/smpp34_dumpPdu.c \
+ $(LIBRARY_SOURCE_DIR)/smpp34_pack.c \
+ $(LIBRARY_SOURCE_DIR)/smpp34_unpack.c \
+ $(LIBRARY_SOURCE_DIR)/smpp34_structs.c \
+ $(LIBRARY_SOURCE_DIR)/smpp34_structs.h \
+ $(LIBRARY_SOURCE_DIR)/smpp34_params.c \
+ $(LIBRARY_SOURCE_DIR)/smpp34_params.h
+
+include_HEADERS = \
+ $(LIBRARY_SOURCE_DIR)/smpp34.h \
+ $(LIBRARY_SOURCE_DIR)/smpp34_structs.h \
+ $(LIBRARY_SOURCE_DIR)/smpp34_params.h
+
+libsmpp34_la_CFLAGS = @CFLAGS@ -Wall
+libsmpp34_la_CFLAGS += -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
+libsmpp34_la_INCLUDES = -I. -I..
+libsmpp34_la_LDFLAGS = @LDFLAGS@ -version-info 0:1:0
+libsmpp34_la_LDFLAGS += -lrt -lpthread
+
+