5bb4465215
Didn't fix related bogotification from moving the definitions of DPADD and LDADD to here. Setting these variables in a top-level directory gives bogus dependencies in library subdirectories. E.g., there is a dependency on `foo.so..' where the double dots separate null shared library version numbers. Set BINDIR properly by inheriting it from ../Makefile.inc.
19 lines
429 B
Makefile
19 lines
429 B
Makefile
# $Id: Makefile.inc,v 1.5 1999/01/18 07:38:09 simokawa Exp $
|
|
|
|
.if !defined(GLOBAL_MAKEFILE_INC_BEEN_HERE)
|
|
|
|
GLOBAL_MAKEFILE_INC_BEEN_HERE=yes
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LIBDESTDIR= ${.OBJDIR}/../lib
|
|
.else
|
|
LIBDESTDIR= ${.CURDIR}/../lib
|
|
.endif
|
|
DPADD= ${LIBDESTDIR}/libgloutil.a
|
|
LDADD= ${LIBDESTDIR}/libgloutil.a
|
|
CFLAGS+= -I${GLOBAL_DIR}/lib -O \
|
|
-Wall -Wwrite-strings -Wmissing-prototypes
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.endif
|