freebsd-skq/contrib/global/Makefile.inc
Hidetoshi Shimokawa 3ba3e2cc4b Import Global v3_4_2 sources.
Ok'd by: peter
Discussed with: msmith
1999-01-18 06:59:18 +00:00

17 lines
380 B
Makefile

.if !defined(GLOBAL_MAKEFILE_INC_BEEN_HERE)
GLOBAL_MAKEFILE_INC_BEEN_HERE=yes
BINDIR?= /usr/bin
.if exists(${.OBJDIR}/../lib)
LIBDESTDIR= ${.OBJDIR}/../lib
.else
LIBDESTDIR= ${.CURDIR}/../lib
.endif
LDDESTDIR= -L${LIBDESTDIR}
LDADD= -lgloutil
DPADD= ${LIBDESTDIR}/libgloutil.a
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -O \
-Wall -Wwrite-strings -Wmissing-prototypes
.endif