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