[BACK]Return to Makefile.gen CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc

File: [cvs.NetBSD.org] / othersrc / Makefile.gen (download)

Revision 1.1, Thu Nov 5 14:02:42 2009 UTC (12 years, 6 months ago) by stacktic
Branch: MAIN

Code clean up
Add support for FreeBSD and Linux
Add support for file system specific options with -s

PREFIX=         /usr/pkg
BINDIR=         ${PREFIX}/bin
INCSDIR=        ${PREFIX}/include
LIBDIR=         ${PREFIX}/lib
MANDIR=         ${PREFIX}/man

MKHTML=         no
MKLINT=         no

LDFLAGS+=       -Wl,-rpath=${LIBDIR}

OSNAME!=        uname -s
.if ${OSNAME} != "NetBSD"
LDFLAGS+=	-L../../../libnbcompat -lnbcompat
LDADD+=         -L../../../libnbcompat -lnbcompat
.if ${OSNAME} == "Linux"
LDFLAGS+=       -ldl
LDADD+=         -ldl