summaryrefslogtreecommitdiff
path: root/titan/Makefile
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-26 19:02:08 +0200
committerHarald Welte <laforge@gnumonks.org>2018-03-26 19:02:08 +0200
commit670659c28c298a6383838bdb5c94da36312c26f3 (patch)
tree5cbe04e7c033d857a7bdbb095c97bd558afad2af /titan/Makefile
parent75e95789179b2efac88fd0f8d6555722695e3f94 (diff)
add TITAN support for MNCC/PCU interface decoding
Diffstat (limited to 'titan/Makefile')
-rw-r--r--titan/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/titan/Makefile b/titan/Makefile
new file mode 100644
index 0000000..e11dd1b
--- /dev/null
+++ b/titan/Makefile
@@ -0,0 +1,19 @@
+
+OBJS=General_Types.o Osmocom_Types.o hello.o
+OBJS+=MNCC_Types.o MNCC_EncDec.o
+OBJS+=PCUIF_Types.o
+
+CXXFLAGS=-DLINUX -DMAKEDEPEND_RUN -I/usr/include/titan -fPIC
+LDFLAGS=-L/usr/lib/titan -fPIC -lttcn3-dynamic
+LDFLAGS_STATIC=-L/usr/lib/titan -lttcn3 -lxml2 -lssl -lcrypto
+
+all: titan.a
+
+titan.a: $(OBJS)
+ $(AR) r $@ $^
+
+%.o: %.cc
+ $(CXX) $(CXXFLAGS) -c -o $@ $^
+
+clean:
+ @rm titan.a $(OBJS)
personal git repositories of Harald Welte. Your mileage may vary