Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / modules / Makefile
blobcb4a1dea0a0ff76c2ee34ebea1b5ae91d92dda3a
1 # $NetBSD: Makefile,v 1.36 2009/12/05 20:11:18 pooka Exp $
3 .include <bsd.own.mk>
5 # For all platforms
7 SUBDIR= accf_dataready
8 SUBDIR+= accf_httpready
9 SUBDIR+= adosfs
10 SUBDIR+= aio
11 SUBDIR+= cd9660
12 SUBDIR+= coda
13 SUBDIR+= coda5
14 SUBDIR+= compat
15 SUBDIR+= compat_ossaudio
16 SUBDIR+= coredump
17 SUBDIR+= efs
18 SUBDIR+= ext2fs
19 SUBDIR+= exec_script
20 SUBDIR+= fdesc
21 SUBDIR+= ffs
22 SUBDIR+= filecore
23 SUBDIR+= fss
24 SUBDIR+= hfs
25 SUBDIR+= kernfs
26 SUBDIR+= ksem
27 SUBDIR+= layerfs
28 SUBDIR+= lfs
29 SUBDIR+= mfs
30 SUBDIR+= mqueue
31 SUBDIR+= msdos
32 SUBDIR+= nfs
33 SUBDIR+= nfsserver
34 SUBDIR+= nilfs
35 SUBDIR+= ntfs
36 SUBDIR+= null
37 SUBDIR+= overlay
38 SUBDIR+= ppp_bsdcomp
39 SUBDIR+= ppp_deflate
40 SUBDIR+= procfs
41 SUBDIR+= ptyfs
42 SUBDIR+= puffs
43 SUBDIR+= putter
44 SUBDIR+= miniroot
45 SUBDIR+= secmodel_bsd44
46 SUBDIR+= secmodel_overlay
47 SUBDIR+= securelevel
48 SUBDIR+= smbfs
49 SUBDIR+= sysvbfs
50 SUBDIR+= suser
51 SUBDIR+= tmpfs
52 SUBDIR+= udf
53 SUBDIR+= umap
54 SUBDIR+= union
55 SUBDIR+= vnd
56 SUBDIR+= tprof
57 .if (defined(NOTYET))
58 SUBDIR+= unionfs
59 .endif
60 .if ${MKBINUTILS} != "no"
61 SUBDIR+= xldscripts
62 .endif
64 # Machine dependent section
65 .if ${MACHINE_ARCH} != "alpha"
66 SUBDIR+= exec_elf32
67 .endif
69 .if ${MACHINE_ARCH} == "alpha" || \
70 ${MACHINE_ARCH} == "sparc64" || \
71 ${MACHINE_ARCH} == "x86_64"
72 SUBDIR+= exec_elf64
73 .endif
75 .if ${MACHINE_ARCH} == "i386" || \
76 ${MACHINE_ARCH} == "x86_64"
77 SUBDIR+= tprof_pmi
78 .endif
80 .if ${MACHINE_ARCH} == "x86_64"
81 SUBDIR+= azalia
82 SUBDIR+= compat_linux
83 SUBDIR+= compat_linux32
84 SUBDIR+= compat_netbsd32
85 SUBDIR+= drm
86 SUBDIR+= i915drm
87 .endif
89 .if ${MACHINE_ARCH} == "i386"
90 SUBDIR+= azalia
91 SUBDIR+= compat_freebsd
92 SUBDIR+= compat_ibcs2
93 SUBDIR+= compat_linux
94 SUBDIR+= compat_svr4
95 SUBDIR+= drm
96 SUBDIR+= exec_aout
97 SUBDIR+= i915drm
98 SUBDIR+= radeondrm
99 SUBDIR+= viadrm
100 .endif
102 .include <bsd.own.mk>
104 # we need our device mapper for LVM
105 .if (${MKLVM} != "no")
106 SUBDIR+= dm
107 .endif
109 # we need solaris and zfs modules for ZFS
110 .if (${MKZFS} != "no")
111 SUBDIR+= solaris
112 SUBDIR+= zfs
113 .endif
115 .include <bsd.subdir.mk>