Makefile revision 61204
1# $FreeBSD: head/sys/modules/svr4/Makefile 61204 2000-06-03 07:40:19Z bde $ 2 3MAINTAINER= newton@FreeBSD.org 4 5TARGET_ARCH?= ${MACHINE_ARCH} 6 7.PATH: ${.CURDIR}/../../${TARGET_ARCH}/svr4 ${.CURDIR}/../../svr4 8KMOD= svr4 9SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \ 10 vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \ 11 svr4_ioctl.c svr4_stat.c svr4_filio.c svr4_ttold.c svr4_termios.c \ 12 svr4_stream.c svr4_socket.c svr4_sockio.c svr4_machdep.c \ 13 svr4_resource.c svr4_ipc.c 14OBJS= svr4_locore.o 15MAN8= svr4.8 16 17EXPORT_SYMS=_svr4_mod 18CLEANFILES= svr4_assym.h svr4_genassym.o 19 20svr4_assym.h: svr4_genassym.o 21.if exists(@) 22svr4_assym.h: @/kern/genassym.sh 23.endif 24 sh @/kern/genassym.sh svr4_genassym.o > ${.TARGET} 25 26svr4_locore.o: svr4_locore.s svr4_assym.h 27 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 28 ${.IMPSRC} -o ${.TARGET} 29 30svr4_genassym.o: svr4_genassym.c svr4.h @ machine 31 ${CC} -c ${CFLAGS} ${.IMPSRC} 32 33opt_compat.h: 34 echo "#define COMPAT_43 1" > opt_compat.h 35 36opt_svr4.h: 37 touch opt_svr4.h 38.if defined(DEBUG) 39 echo "#define DEBUG_SVR4 1" >> opt_svr4.h 40.endif 41 42afterinstall: 43 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 44 ${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4 45 46.include <bsd.kmod.mk> 47