1996-11-10 21:14:52 +00:00
|
|
|
CC=cc
|
1997-09-25 04:13:04 +00:00
|
|
|
INCLUDES=-I${LOCALBASE}/include/tcl7.6 -I${LOCALBASE}/include/tk4.2 -I${X11BASE}/include -I${TK_SRC}/generic
|
1996-11-10 21:14:52 +00:00
|
|
|
LIB_DIR=${LOCALBASE}/lib
|
1997-09-25 04:13:04 +00:00
|
|
|
LIBS=-L${LIB_DIR} -ltk42 -ltcl76 -lm -L${X11BASE}/lib -lX11
|
1996-11-10 21:14:52 +00:00
|
|
|
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
|