Makefile revision 1.27
11.27She# $NetBSD: Makefile,v 1.27 2005/12/30 00:24:48 he Exp $ 21.1Sleo 31.1SleoLIB= sa 41.1Sleo 51.13StvNOPIC=# defined 61.13StvNOPROFILE=# defined 71.1SleoOBJMACHINE= 81.1Sleo 91.1SleoCPPFLAGS+= ${DEFS} ${INCL} 101.23SheCFLAGS+= -ffreestanding 111.9SthomasCFLAGS+= -fomit-frame-pointer -Wall -fno-function-cse -fstrength-reduce 121.1SleoNO_NET= 131.1Sleo 141.11SleoDEFS= -D_STANDALONE -DHEAP_VARIABLE 151.25SjunyoungINCL= -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S} 161.1Sleo 171.1Sleo# 181.25Sjunyoung# NetBSD/atari specific replacements: dev.c 191.1Sleo# 201.1Sleo 211.1Sleo# machine dependant routines 221.9SthomasSRCS= consio.S diskio.c 231.1Sleo 241.27She# from common/lib/libc 251.19SheSRCS+= ashldi3.c ashrdi3.c bzero.c strcmp.c strlen.c 261.1Sleo 271.1Sleo# stand routines 281.20SheSRCS+= alloc.c bcmp.c bcopy.c exec.c files.c getfile.c gets.c globals.c \ 291.24Sjmc panic.c memcmp.c memcpy.c memmove.c memset.c printf.c strerror.c \ 301.25Sjunyoung subr_prf.c twiddle.c 311.1Sleo 321.1Sleo# io routines 331.1SleoSRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \ 341.1Sleo lseek.c open.c nullfs.c read.c stat.c fstat.c write.c 351.1Sleo 361.1Sleo.if !defined(NO_NET) 371.1Sleo# network routines 381.1SleoSRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c 391.1Sleo.endif 401.1Sleo 411.1Sleo# network info services: 421.1SleoSRCS+= bootp.c rarp.c bootparam.c 431.1Sleo 441.1Sleo# boot filesystems 451.1SleoSRCS+= ufs.c nfs.c 461.1Sleo 471.1Sleo# Logically src/sys 481.2SleoS=${.CURDIR}/../../../.. 491.1SleoS_SA=${S}/lib/libsa 501.1SleoS_KERN=${S}/lib/libkern 511.1SleoS_MACHSA=${S}/arch/atari/stand/libsa 521.1Sleo 531.27She.include "${S}/../common/lib/libc/Makefile.inc" 541.27She 551.1Sleo.PATH: ${S_SA} ${S_KERN} 561.14Sleo 571.17Sjdolecek.if !make(obj) && !make(clean) && !make(cleandir) 581.14Sleo.BEGIN: 591.14Sleo @([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine) 601.14Sleo @([ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}) 611.14Sleo.NOPATH: machine m68k 621.17Sjdolecek.endif 631.14SleoCLEANFILES+= machine m68k 641.5Scjs 651.5Scjs# only needed during build 661.5Scjslibinstall:: 671.1Sleo 681.12Stv.include <bsd.own.mk> 691.12Stv.undef DESTDIR 701.1Sleo.include <bsd.lib.mk> 71