1#         $NetBSD: Makefile,v 1.9 2011/09/29 09:44:08 dholland Exp $
2
3.include <bsd.own.mk>
4
5.PATH:    ${X11SRCDIR.xorg-cf-files}
6
7FILESDIR=${X11LIBDIR}/config
8
9FILES=    Amoeba.cf DGUX.cf FreeBSD.cf Imake.cf Imake.rules Imake.tmpl \
10          Library.tmpl Mips.cf Motif.rules Motif.tmpl NetBSD.cf Oki.cf \
11          OpenBSD.cf QNX4.cf QNX4.rules Server.tmpl ServerLib.tmpl \
12          Threads.tmpl Win32.cf Win32.rules WinLib.tmpl X11.rules \
13          X11.tmpl apollo.cf bsd.cf bsdLib.rules bsdLib.tmpl bsdi.cf \
14          cde.rules cde.tmpl convex.cf cray.cf cygwin.cf cygwin.rules \
15          cygwin.tmpl darwin.cf darwinLib.rules darwinLib.tmpl \
16          fujitsu.cf generic.cf gnu.cf gnuLib.rules gnuLib.tmpl hp.cf \
17          hpLib.rules hpLib.tmpl ibm.cf ibmLib.rules ibmLib.tmpl \
18          isc.cf linux.cf lnxLib.rules lnxLib.tmpl lnxdoc.rules \
19          lnxdoc.tmpl luna.cf lynx.cf macII.cf mach.cf minix.cf \
20          moto.cf ncr.cf nec.cf necLib.rules necLib.tmpl noop.rules \
21          nto.cf nto.rules oldlib.rules os2.cf os2.rules os2Lib.rules \
22          os2Lib.tmpl osf1.cf osfLib.rules osfLib.tmpl pegasus.cf \
23          sco.cf sco5.cf scoLib.rules sequent.cf sgi.cf sgiLib.rules \
24          sgiLib.tmpl sony.cf sun.cf sunLib.rules sunLib.tmpl \
25          sv3Lib.rules sv3Lib.tmpl sv4Lib.rules sv4Lib.tmpl svr3.cf \
26          svr4.cf ultrix.cf usl.cf x386.cf xf86.rules \
27          xf86.tmpl xf86site.def xfree86.cf xorg.cf xorgversion.def
28
29# Note: acts as '#define InstallEmptyHostDef'
30#
31FILES+=   date.def host.def xorgsite.def
32
33# Handle site.def specificly because it is provided in dist
34#
35FILES+=                                 netbsd.site.def
36FILESNAME_netbsd.site.def=    site.def
37CLEANFILES+=                            netbsd.site.def
38
39netbsd.site.def:    site.def.in
40          ${_MKTARGET_CREATE}
41          ${TOOL_SED} -e 's,@prefix@,${X11ROOTDIR},' <${.ALLSRC} |\
42             ${TOOL_SED} -e 's,@FONTROOTDIR@,${X11ROOTDIR}/share/fonts/X11,' |\
43             ${TOOL_SED} -e 's,@ENCODINGSDIR@,\$${FONTROOTDIR}/encodings,' \
44             >${.TARGET}
45realall:  netbsd.site.def
46
47.include <bsd.prog.mk>
48