Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / x68k / stand / libsa / Makefile
blob434008e1ff2a9b8c3d6dab106e84d2cfe655d612
1 # $NetBSD: Makefile,v 1.24 2009/01/12 07:56:31 tsutsui Exp $
3 S= ${.CURDIR}/../../../..
4 LIBSADIR= $S/lib/libsa
5 LIBKERNDIR= $S/lib/libkern
6 LIBZDIR= $S/lib/libz
7 LIBZDIST= $S/../common/dist/zlib
9 LIB= sa
11 SRCS+= alloc.c bcopy.c bzero.c errno.c getfile.c gets.c
12 SRCS+= memcmp.c memcpy.c memmove.c memset.c panic.c
13 SRCS+= printf.c snprintf.c sprintf.c subr_prf.c twiddle.c vsprintf.c
15 SRCS+= close.c closeall.c cread.c dev.c fstat.c ioctl.c lseek.c
16 SRCS+= open.c read.c stat.c
17 SRCS+= loadfile.c loadfile_aout.c loadfile_elf32.c
18 SRCS+= cd9660.c lfsv1.c lfsv2.c nfs.c ufs.c ufs_ls.c ustarfs.c
19 SRCS+= globals.c
20 #SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c
21 #SRCS+= bootp.c
23 SRCS+= ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c
24 SRCS+= strcat.c strchr.c strcmp.c strcpy.c strerror.c strlen.c
25 SRCS+= strncmp.c strrchr.c
27 SRCS+= adler32.c crc32.c inffast.c
28 SRCS+= inflate.c inftrees.c uncompr.c
30 SRCS+= consio.c devopen.c parseutils.c sdcd.c fd.c fdsub.S chdsk.c
31 SRCS+= putimage.S
33 NOPROFILE= # defined
34 NOPIC= # defined
35 NOLINT= # defined
37 CPPFLAGS+= -I${.OBJDIR} -I${LIBSADIR} -I$S -I${LIBZDIR} -I${LIBZDIST}
38 CPPFLAGS+= -I${.CURDIR}/../libiocs -I${.CURDIR}/../common
39 CPPFLAGS+= -D_STANDALONE
40 CPPFLAGS+= -DHEAP_VARIABLE -D__INTERNAL_LIBSA_CREAD
41 CPPFLAGS+= -DHAVE_CHANGEDISK_HOOK
42 CPPFLAGS+= -DUSTAR_SECT_PER_CYL=16
43 #CPPFLAGS+= -DDEBUG
45 .PATH: ${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR} ${LIBZDIST}
47 .include "../Makefile.booters"
48 .include "${S}/../common/lib/libc/Makefile.inc"
50 # only needed during build
51 libinstall::
53 .include <bsd.own.mk>
54 .undef DESTDIR
55 .include <bsd.lib.mk>