blob: 78a2ef16099688bc02f54bb7ac638d3b893014ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-ad,v 1.5 2000/04/07 15:28:59 hubertf Exp $
*** /dev/null Thu Mar 5 20:41:40 1998
--- netbsd/Makefile.netbsd Thu Mar 5 18:23:50 1998
***************
*** 0 ****
--- 1,15 ----
+ CC=cc
+ INCLUDES=-I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0 -I${X11BASE}/include -I${LOCALBASE}/include/tk8.0/generic -I${LOCALBASE}/include/tk8.0/unix
+ LIB_DIR=${LOCALBASE}/lib
+ LIBS=-Wl,-R${LIB_DIR} -L${LIB_DIR} -ltk80 -ltcl80 -lm -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lX11
+ CFLAGS+=-ggdb $(INCLUDES) -DFREEBSD -DPROTOTYPES -DHAVE_NO_VALUES_H -DHAVE_LIMITS_H -DHAVE_UNISTD_H -DMAXINT=INT_MAX -DDEFINED_ERRLIST
+ # for search.h
+ CFLAGS+=-I../src
+
+ OBJS+=hsearch.o
+
+ install: all
+ install -c -s -m 755 -o bin -g bin nt ${PREFIX}/bin
+
+ clean:
+ rm *.o *.tcl *.ehtml tcl2c
*** /dev/null Thu Mar 5 20:41:40 1998
--- netbsd/configure Thu Mar 5 20:48:10 1998
***************
*** 0 ****
--- 1,2 ----
+ #!/bin/sh
+ cat ../src/Makefile.template Makefile.netbsd > Makefile
*** /dev/null Thu Mar 5 20:51:51 1998
--- Makefile Thu Mar 5 20:54:21 1998
***************
*** 0 ****
--- 1,2 ----
+ all install clean:
+ cd netbsd && make $@
|