Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / external / bsd / drm / dist / bsd-core / tdfx / Makefile
blob5770491a346e7651e763a963141c6ca75b1bd898
1 # $FreeBSD$
3 .PATH: ${.CURDIR}/..
4 KMOD= tdfx
5 NO_MAN= YES
6 SRCS= tdfx_drv.c
7 SRCS+= device_if.h bus_if.h pci_if.h opt_drm.h
8 CFLAGS+= ${DEBUG_FLAGS} -I. -I..
10 .if defined(DRM_DEBUG)
11 DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
12 .endif
14 .if !defined(DRM_NOLINUX)
15 DRM_LINUX_OPT= "\#define DRM_LINUX 1"
16 .endif
18 opt_drm.h:
19 touch opt_drm.h
20 echo $(DRM_DEBUG_OPT) >> opt_drm.h
21 echo $(DRM_LINUX_OPT) >> opt_drm.h
23 .include <bsd.kmod.mk>