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))))