summaryrefslogtreecommitdiff
path: root/mbone/sdr/files
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1997-11-18 17:21:25 +0000
committeris <is@pkgsrc.org>1997-11-18 17:21:25 +0000
commit76460bf4bf5c0369a265a64d75bebc6c5824fcef (patch)
treea92b031d11e45f8986262a8e42c6256da99df7ba /mbone/sdr/files
parente36fdeaad99eee8d1564366e679450f9e64b0bf0 (diff)
downloadpkgsrc-76460bf4bf5c0369a265a64d75bebc6c5824fcef.tar.gz
- NetBSD RCS ids.
- disabled unfinished tools. - make sdr compile & work on NetBSD
Diffstat (limited to 'mbone/sdr/files')
-rw-r--r--mbone/sdr/files/Makefile.netbsd15
-rw-r--r--mbone/sdr/files/Makefile.work2
2 files changed, 16 insertions, 1 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
diff --git a/mbone/sdr/files/Makefile.work b/mbone/sdr/files/Makefile.work
index 6b6d1019205..c40e0ee3260 100644
--- a/mbone/sdr/files/Makefile.work
+++ b/mbone/sdr/files/Makefile.work
@@ -1,2 +1,2 @@
all install clean:
- cd freebsd; $(MAKE) $@
+ cd netbsd; $(MAKE) $@