1 /* $NetBSD: xpkgwedge.def,v 1.1 1998/06/26 16:39:25 tv Exp $ */
6 * The following defines inject a "PREFIX=" make-time option that lets the
7 * user twiddle the ProjectRoot setting with a single switch. This makes
8 * the command "make PREFIX=/path/to/install all install" work as expected.
10 * Note that ?= is a special Pmake construct and probably will not work on
16 * Assume the worst: this should not happen in practice, as this setup
17 * does not work with the classical /usr/{include,lib}/X11 layout.
19 #define ProjectRoot /usr/X11
23 X11_ROOT = ProjectRoot
26 #define ProjectRoot $(PREFIX)
28 #define ConfigDir $(X11_ROOT)/lib/X11/config
31 * This emits dual -I and -L options to cc automatically, one for the actual
32 * X11 root, and one for the user-set prefix.
34 #define X11ProjectRoot $(X11_ROOT)