summaryrefslogtreecommitdiff
path: root/mbone/sdr/files/Makefile.netbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/sdr/files/Makefile.netbsd')
-rw-r--r--mbone/sdr/files/Makefile.netbsd15
1 files changed, 15 insertions, 0 deletions
diff --git a/mbone/sdr/files/Makefile.netbsd b/mbone/sdr/files/Makefile.netbsd
new file mode 100644
index 00000000000..3cb29fcf93c
--- /dev/null
+++ b/mbone/sdr/files/Makefile.netbsd
@@ -0,0 +1,15 @@
+CC=cc
+INCLUDES=-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tcl8.0 -I${X11BASE}/include
+LIB_DIR=${LOCALBASE}/lib
+LIBS=-L${LIB_DIR} -ltk80 -ltcl80 -lm -L${X11BASE}/lib -lX11
+CFLAGS+=-ggdb $(INCLUDES) -DNORANDPROTO -DUSE_PERROR -Werror
+LIBRARY_TCL = ${LIB_DIR}/tcl8.0
+LIBRARY_TK = ${LIB_DIR}/tk8.0
+
+all: sdr
+
+install: sdr
+ install -c -s -m 555 -o bin -g bin sdr ${PREFIX}/bin
+
+clean:
+ rm *.o *.tcl *.ehtml tcl2c