From ec429b62f6c64a97a57cf7c5115f4d9b77adbdba Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Oct 2015 03:16:45 +0000 Subject: [PATCH] makefiles --- makefile | 22 ++++++++++++++++++++++ makefile.inc | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 makefile create mode 100644 makefile.inc diff --git a/makefile b/makefile new file mode 100644 index 00000000..b70280ed --- /dev/null +++ b/makefile @@ -0,0 +1,22 @@ +include makefile.inc + +DYLIBS= vnctpmd.so vnctptd.so +#vnltsmd.so vnltstd.so vnltsl2.so + +all: $(DYLIBS) + + +vnltsmd.so: + cd vn.lts/vnltsmd/pyltsmd;make all + +vnltstd.so: + cd vn.lts/vnltstd/pyltstd;make all + +vnltsl2.so: + cd vn.lts/vnltsl2/vnltsl2;make all + +vnctpmd.so: + cd vn.ctp/vnctpmd/vnctpmd;make all + +vnctptd.so: + cd vn.ctp/vnctptd/vnctptd;make all diff --git a/makefile.inc b/makefile.inc new file mode 100644 index 00000000..80728dab --- /dev/null +++ b/makefile.inc @@ -0,0 +1,5 @@ +CXX = g++ +LIBRARIES = -lboost_thread -lboost_python -lpython2.7 +COMMON_FLAGS = -D__GNU__ -fPIC +INCLUDE = -I/usr/include/python2.7/ +ROOTPATH = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))