Annotation of sys/arch/i386/stand/libsa/Makefile, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: Makefile,v 1.47 2007/05/30 01:25:43 tom Exp $
2:
3: .include "${.CURDIR}/../Makefile.inc"
4:
5: LIB= sa
6:
7: S=${.CURDIR}/../../../..
8: SADIR=${.CURDIR}/..
9:
10: # i386 stuff (so, it will possibly load in the same 64k)
11: SRCS+= machdep.c dev_i386.c exec_i386.c cmd_i386.c loadfile.c elf32.c elf64.c
12:
13: .if defined(DEBUGFLAGS) && !empty(DEBUGFLAGS:M-D_TEST)
14: SRCS+= unixdev.c unixsys.S nullfs.c memprobe.c
15: CLEANFILES+= gidt.o debug_i386.o alloca.o \
16: biosdev.o bioscons.o gateA20.o apmprobe.o \
17: cpuprobe.o memprobe.o diskprobe.o smpprobe.o \
18: time.o biosprobe.o
19: .else
20: SRCS+= gidt.S debug_i386.S alloca.S \
21: biosdev.c bioscons.c gateA20.c apmprobe.c \
22: cpuprobe.c memprobe.c diskprobe.c pciprobe.c smpprobe.c \
23: time.c biosprobe.c ps2probe.c pxe.c pxe_net.c pxe_call.S
24: CLEANFILES+= unixdev.o unixsys.o nullfs.o
25: .endif
26:
27: # stand routines
28: SRCS+= alloc.c exit.c getfile.c gets.c globals.c strcmp.c strlen.c \
29: strncmp.c memcmp.c memcpy.c memset.c printf.c snprintf.c \
30: strerror.c strncpy.c strtol.c strtoll.c ctime.c
31:
32: # io routines
33: SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \
34: open.c read.c stat.c write.c cread.c readdir.c cons.c
35:
36: # network routines
37: SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c
38:
39: # network info services
40: SRCS+= bootp.c bootparam.c rarp.c
41:
42: # boot filesystems
43: SRCS+= ufs.c nfs.c tftp.c cd9660.c
44:
45: # debugger
46: SRCS+= debug.c
47:
48: NOPROFILE=noprofile
49: NOPIC=nopic
50:
51: .PATH: $S/lib/libsa
52:
53: all: ${SALIB}
54:
55: install:
56:
57: .include <bsd.lib.mk>
58:
59: CPPFLAGS+=-DLINKADDR=${LINKADDR} -DHEAP_LIMIT=${HEAP_LIMIT} ${DEBUGFLAGS}
60: CPPFLAGS+=-I${S}/stand/boot #-DCOMPAT_UFS
61: CFLAGS+=${SACFLAGS} -D__INTERNAL_LIBSA_CREAD
62: #AS=cat ;
63: #AS+= -R
64: #AS+= -a
CVSweb