aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 67550f3f7fe7e47e5236843d533aaeb59293806a (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
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
LIBVERSION=1:0:0

# 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 $(LIBVERSION) -no-undefined
libsmpp34_la_LDFLAGS += -lrt -lpthread