1999-01-18 06:59:18 +00:00
|
|
|
.if !defined(GLOBAL_MAKEFILE_INC_BEEN_HERE)
|
|
|
|
|
|
|
|
GLOBAL_MAKEFILE_INC_BEEN_HERE=yes
|
1997-08-16 04:13:58 +00:00
|
|
|
BINDIR?= /usr/bin
|
1997-12-15 23:08:46 +00:00
|
|
|
.if exists(${.OBJDIR}/../lib)
|
1999-01-18 06:59:18 +00:00
|
|
|
LIBDESTDIR= ${.OBJDIR}/../lib
|
1997-12-15 23:08:46 +00:00
|
|
|
.else
|
1999-01-18 06:59:18 +00:00
|
|
|
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
|
|
|
|
|
1997-12-15 23:08:46 +00:00
|
|
|
.endif
|