Makefile revision 60966
1# $FreeBSD: head/sys/modules/svr4/Makefile 60966 2000-05-27 01:14:33Z peter $ 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 genassym ${.ALLSRC} > ${.TARGET} 22 23svr4_locore.o: svr4_locore.s svr4_assym.h 24 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 25 ${.IMPSRC} -o ${.TARGET} 26 27svr4_genassym.o: svr4_genassym.c svr4.h @ machine 28 ${CC} -c ${CFLAGS} ${.IMPSRC} 29 30opt_compat.h: 31 echo "#define COMPAT_43 1" > opt_compat.h 32 33opt_svr4.h: 34 touch opt_svr4.h 35.if defined(DEBUG) 36 echo "#define DEBUG_SVR4 1" >> opt_svr4.h 37.endif 38 39afterinstall: 40 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 41 ${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4 42 43.include <bsd.kmod.mk> 44