1996-11-10 21:14:52 +00:00
|
|
|
CC=cc
|
1998-08-27 18:42:46 +00:00
|
|
|
INCLUDES=-I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tk8.0/generic -I${X11BASE}/include
|
1996-11-10 21:14:52 +00:00
|
|
|
LIB_DIR=${LOCALBASE}/lib
|
1998-08-27 18:42:46 +00:00
|
|
|
LIBS=-L${LIB_DIR} -ltk80 -ltcl80 -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
|