Module Name: src
Committed By: christos
Date: Fri May 8 17:53:59 UTC 2009
Added Files:
src/compat/external/bsd/file/lib: Makefile
Log Message:
add compat glue
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/compat/external/bsd/file/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/compat/external/bsd/file/lib/Makefile
diff -u /dev/null src/compat/external/bsd/file/lib/Makefile:1.1
--- /dev/null Fri May 8 13:53:59 2009
+++ src/compat/external/bsd/file/lib/Makefile Fri May 8 13:53:59 2009
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2009/05/08 17:53:59 christos Exp $
+
+NOLINT= # defined
+NOMAN= # defined
+NONLS= # defined
+NOINFO= # defined
+NOSHARE= # defined
+LIBDPLIBS= z ${.CURDIR}/../../../../lib/libz
+
+NOCHECKVER= # defined
+
+.include <bsd.obj.mk>
+
+# Resolve pathnames in variables.
+_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD LDADD LIBDPLIBS LIB_ROOT_DIR
+.for var in ${_RESOLVE_VARS}
+${var}:= ${${var}}
+.endfor
+
+_CURDIR:= ${.CURDIR}
+
+.PATH: ${NETBSDSRCDIR}/external/bsd/file/lib
+.CURDIR:=${NETBSDSRCDIR}/external/bsd/file/lib
+
+.include "${NETBSDSRCDIR}/compat/Makefile.compat"
+.include "${.CURDIR}/Makefile"
+
+# Resolve pathnames from "real" Makefile, and switch .CURDIR back.
+_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD LDADD ARCHDIR COMPATDIR COMPATARCHDIR LIBCDIR RPC_INCS RPC_XDIR LIBEDITDIR MODOBJDIR RUMPTOP
+.for var in ${_RESOLVE_VARS}
+${var}:= ${${var}}
+.endfor
+
+.CURDIR:= ${_CURDIR}
+.undef _CURDIR