Makefile revision 175701
190223Sdes# $FreeBSD: head/sys/modules/procfs/Makefile 162711 2006-09-27 19:57:02Z ru $ 290223Sdes 390223Sdes.PATH: ${.CURDIR}/../../fs/procfs 490223Sdes 590223SdesKMOD= procfs 6149231SyarSRCS= 7149231SyarSRCS+= opt_compat.h 890223SdesSRCS+= vnode_if.h 990223SdesSRCS+= procfs_ctl.c 1090223SdesSRCS+= procfs_dbregs.c 1190223SdesSRCS+= procfs_fpregs.c 1290223SdesSRCS+= procfs_ioctl.c 1390223SdesSRCS+= procfs_map.c 1490223SdesSRCS+= procfs_mem.c 1590223SdesSRCS+= procfs_note.c 1690223SdesSRCS+= procfs_regs.c 1790223SdesSRCS+= procfs_rlimit.c 1890223SdesSRCS+= procfs_status.c 1990223SdesSRCS+= procfs_type.c 2090223SdesSRCS+= procfs.c 2190223Sdes 2290223SdesEXPORT_SYMS= 2390223SdesEXPORT_SYMS+= procfs_attr 2490223SdesEXPORT_SYMS+= procfs_candebug 2590223SdesEXPORT_SYMS+= procfs_docurproc 2690223SdesEXPORT_SYMS+= procfs_doprocfile 2790223SdesEXPORT_SYMS+= procfs_doprocmem 2890223SdesEXPORT_SYMS+= procfs_notsystem 2990223Sdes 30149234Syar.if !defined(KERNBUILDDIR) 31148960Syaropt_compat.h: 32148960Syar echo "#define COMPAT_43 1" > ${.TARGET} 33149234Syar echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET} 34149234Syar echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET} 35162711Sru echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET} 36148960Syar.if ${MACHINE_ARCH} == "amd64" 37148960Syar echo "#define COMPAT_IA32 1" >> ${.TARGET} 38149234Syar echo "#define COMPAT_LINUX32 1" >> ${.TARGET} 39148960Syar.endif 40149234Syar.endif 41148960Syar 4290223Sdes.include <bsd.kmod.mk> 43