Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.18
      1  1.18        he #	$NetBSD: Makefile,v 1.18 2003/04/01 13:31:23 he Exp $
      2   1.1       leo 
      3   1.1       leo LIB=	sa
      4   1.1       leo 
      5  1.13        tv NOPIC=# defined
      6  1.13        tv NOPROFILE=# defined
      7   1.1       leo OBJMACHINE=
      8   1.1       leo 
      9   1.1       leo CPPFLAGS+=	${DEFS} ${INCL}
     10   1.9    thomas CFLAGS+=	-fomit-frame-pointer -Wall -fno-function-cse -fstrength-reduce
     11   1.1       leo NO_NET=
     12   1.1       leo 
     13  1.11       leo DEFS=	-D_STANDALONE -DHEAP_VARIABLE
     14  1.12        tv INCL=	-I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S} 
     15   1.1       leo 
     16   1.1       leo #
     17   1.1       leo # NetBSD/Atari specific replacements: stand.h dev.c
     18   1.1       leo #
     19   1.1       leo 
     20   1.1       leo # machine dependant routines
     21   1.9    thomas SRCS=	consio.S diskio.c
     22   1.1       leo 
     23   1.1       leo # from lib/libkern
     24  1.18        he SRCS+=	ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c \
     25  1.18        he 	bzero.c strcmp.c strlen.c
     26   1.1       leo 
     27   1.1       leo # stand routines
     28  1.15     bjh21 SRCS+=	alloc.c bcopy.c exec.c files.c getfile.c gets.c globals.c panic.c \
     29  1.11       leo 	memcpy.c printf.c strerror.c subr_prf.c twiddle.c 
     30   1.1       leo 
     31   1.1       leo # io routines
     32   1.1       leo SRCS+=	close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
     33   1.1       leo 	lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
     34   1.1       leo 
     35   1.1       leo .if !defined(NO_NET)
     36   1.1       leo # network routines
     37   1.1       leo SRCS+=	arp.c ether.c in_cksum.c net.c netif.c rpc.c
     38   1.1       leo .endif
     39   1.1       leo 
     40   1.1       leo # network info services:
     41   1.1       leo SRCS+=	bootp.c rarp.c bootparam.c
     42   1.1       leo 
     43   1.1       leo # boot filesystems
     44   1.1       leo SRCS+=	ufs.c nfs.c
     45   1.1       leo 
     46   1.1       leo # Logically src/sys
     47   1.2       leo S=${.CURDIR}/../../../..
     48   1.1       leo S_SA=${S}/lib/libsa
     49   1.1       leo S_KERN=${S}/lib/libkern
     50   1.1       leo S_MACHSA=${S}/arch/atari/stand/libsa
     51   1.1       leo 
     52   1.1       leo .PATH:  ${S_SA} ${S_KERN}
     53  1.14       leo 
     54  1.17  jdolecek .if !make(obj) && !make(clean) && !make(cleandir)
     55  1.14       leo .BEGIN:
     56  1.14       leo 	@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
     57  1.14       leo 	@([ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH})
     58  1.14       leo .NOPATH: machine m68k
     59  1.17  jdolecek .endif
     60  1.14       leo CLEANFILES+= machine m68k
     61   1.5       cjs 
     62   1.5       cjs # only needed during build
     63   1.5       cjs libinstall::
     64   1.1       leo 
     65  1.12        tv .include <bsd.own.mk>
     66  1.12        tv .undef DESTDIR
     67   1.1       leo .include <bsd.lib.mk>
     68