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
|
|
|
|
|
1998-11-24 18:39:02 +00:00
|
|
|
hsearch.o: ../src/hsearch.c
|
|
|
|
${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ../src/hsearch.c
|
1996-11-10 21:14:52 +00:00
|
|
|
|
|
|
|
install: all
|
1998-11-24 18:39:02 +00:00
|
|
|
install -c -s -m 755 -o bin -g bin nte ${PREFIX}/bin
|