|
@@ -0,0 +1,16 @@
|
|
|
+cdir = $cdir/symux
|
|
|
+
|
|
|
+cflags = $cflags -I$rdir/lib -I$rrddir/include -I$pdir -I$cdir
|
|
|
+ldflags = $ldflags $symux_libs -L$rdir/lib -L$rrddir/lib -lrrd
|
|
|
+
|
|
|
+build $cdir/symux.o: cc $cdir/symux.c
|
|
|
+build $cdir/readconf.o: cc $cdir/readconf.c
|
|
|
+build $cdir/symuxnet.o: cc $cdir/symuxnet.c
|
|
|
+build $cdir/share.o: cc $cdir/share.c
|
|
|
+
|
|
|
+build $cdir/conf.h: run_script $cdir/gen_conf.sh
|
|
|
+ env = SYSCONFDIR=$sysconfdir V=$v OS=$platform PDIR=$pdir
|
|
|
+
|
|
|
+build $cdir/symux: link $cdir/symux.o $cdir/readconf.o $cdir/symuxnet.o $cdir/share.o $rdir/lib/libsym.a
|
|
|
+
|
|
|
+# TODO: install
|