mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 07:59:23 +00:00
3ba3e2cc4b
Ok'd by: peter Discussed with: msmith
17 lines
380 B
Makefile
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
|