aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/nte/files/Makefile.freebsd
blob: a7ed5f53e88703d52a77dce76984a2fb7f29795d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=cc
INCLUDES=-I${LOCALBASE}/include/tcl7.6 -I${LOCALBASE}/include/tk4.2 -I${X11BASE}/include -I${TK_SRC}/generic
LIB_DIR=${LOCALBASE}/lib
LIBS=-L${LIB_DIR} -ltk42 -ltcl76 -lm -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