summaryrefslogtreecommitdiff
path: root/bsd/Imakefile
diff options
context:
space:
mode:
authorDoug Rabson <dfr@freebsd.org>2000-05-30 17:13:31 +0000
committerDoug Rabson <dfr@freebsd.org>2000-05-30 17:13:31 +0000
commitfa0a35a25fd008617ef6c7444cb92b138dd01859 (patch)
treef804cbc46ff403ab014b6ff44487c131ed6f24b9 /bsd/Imakefile
parenta72f370f4d8a65db5c4ff28dc49b0a1d7acc146c (diff)
Merged bsd-1-0-0bsd-1-0-0-20000531-merge
Diffstat (limited to 'bsd/Imakefile')
-rw-r--r--bsd/Imakefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/bsd/Imakefile b/bsd/Imakefile
new file mode 100644
index 00000000..cf042d21
--- /dev/null
+++ b/bsd/Imakefile
@@ -0,0 +1,31 @@
+XCOMM $XFree86$
+XCOMM $PI$
+
+#include <Server.tmpl>
+
+LinkSourceFile(xf86drm.c,..)
+LinkSourceFile(xf86drmHash.c,..)
+LinkSourceFile(xf86drmRandom.c,..)
+LinkSourceFile(xf86drmSL.c,..)
+LinkSourceFile(xf86drm.h,$(XF86OSSRC))
+LinkSourceFile(xf86_OSproc.h,$(XF86OSSRC))
+LinkSourceFile(sigio.c,$(XF86OSSRC)/shared)
+
+XCOMM This is a kludge until we determine how best to build the
+XCOMM kernel-specific device driver. This allows us to continue
+XCOMM to maintain the single Makefile.bsd with kernel-specific
+XCOMM support. Later, we can move to a different Imakefile.
+
+#if BuildXF86DRI && BuildXF86DRM
+all::
+ $(MAKE) -f Makefile.bsd
+
+install::
+ $(MAKE) -f Makefile.bsd install
+#else
+all::
+ echo 'Use "make -f Makefile.bsd" to manually build drm.o'
+#endif
+
+clean::
+ $(MAKE) -f Makefile.bsd clean