1 1.2.6.3 bouyer # $NetBSD: Makefile,v 1.2.6.3 2001/02/11 19:11:22 bouyer Exp $ 2 1.2.6.2 bouyer 3 1.2.6.2 bouyer S= ${.CURDIR}/../../../.. 4 1.2.6.2 bouyer 5 1.2.6.2 bouyer MKMAN= no 6 1.2.6.2 bouyer 7 1.2.6.2 bouyer CFLAGS= -Os -Wall 8 1.2.6.2 bouyer 9 1.2.6.3 bouyer CPPFLAGS+= -D_STANDALONE 10 1.2.6.2 bouyer CPPFLAGS+= -nostdinc -I${.OBJDIR} -I${S} -I. 11 1.2.6.2 bouyer AFLAGS= -D_LOCORE 12 1.2.6.2 bouyer 13 1.2.6.2 bouyer CLEANFILES+= machine m68k 14 1.2.6.2 bouyer 15 1.2.6.2 bouyer .BEGIN: machine m68k 16 1.2.6.2 bouyer .NOPATH: machine m68k 17 1.2.6.2 bouyer realdepend realall: machine m68k 18 1.2.6.2 bouyer 19 1.2.6.2 bouyer machine:: 20 1.2.6.2 bouyer -rm -f $@ 21 1.2.6.2 bouyer ln -s ${S}/arch/${MACHINE}/include $@ 22 1.2.6.2 bouyer 23 1.2.6.2 bouyer m68k:: 24 1.2.6.2 bouyer -rm -f $@ 25 1.2.6.2 bouyer ln -s ${S}/arch/m68k/include $@ 26 1.2.6.2 bouyer 27 1.2.6.2 bouyer ${OBJS}: machine m68k 28 1.2.6.2 bouyer 29 1.2.6.2 bouyer ### find out what to use for libkern 30 1.2.6.2 bouyer KERN_AS= library 31 1.2.6.2 bouyer .include "${S}/lib/libkern/Makefile.inc" 32 1.2.6.2 bouyer LIBKERN= ${KERNLIB} 33 1.2.6.2 bouyer 34 1.2.6.2 bouyer ### find out what to use for libz 35 1.2.6.2 bouyer Z_AS= library 36 1.2.6.2 bouyer .include "${S}/lib/libz/Makefile.inc" 37 1.2.6.2 bouyer LIBZ= ${ZLIB} 38 1.2.6.2 bouyer 39 1.2.6.2 bouyer ### find out what to use for libsa 40 1.2.6.2 bouyer SA_AS= library 41 1.2.6.2 bouyer SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes 42 1.2.6.2 bouyer .include "${S}/lib/libsa/Makefile.inc" 43 1.2.6.2 bouyer LIBSA= ${SALIB} 44 1.2.6.2 bouyer 45 1.2.6.2 bouyer LIBS= ${LIBSA} ${LIBZ} ${LIBKERN} 46 1.2.6.2 bouyer 47 1.2.6.2 bouyer realall: ${LIBS} 48 1.2.6.2 bouyer 49 1.2.6.2 bouyer cleandir distclean: cleanlibdir 50 1.2.6.2 bouyer 51 1.2.6.2 bouyer cleanlibdir: 52 1.2.6.2 bouyer -rm -rf lib 53 1.2.6.2 bouyer 54 1.2.6.2 bouyer .include <bsd.prog.mk> 55