blob: 2beb2c20d9d4a63a44f4fb4f5d5172821f670134 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $OpenBSD: Makefile,v 1.14 2007/12/26 18:52:59 kettenis Exp $
.include "${.CURDIR}/../Makefile.inc"
LIB= sa
S=${.CURDIR}/../../../..
SADIR=${.CURDIR}/..
DIR_SA= $S/lib/libsa
NOPROFILE=noprofile
NOPIC=nopic
#AS=cat ;
#AS+= -R
#AS+= -a
# hppa stuff
SRCS= machdep.c pdc.c itecons.c dev_hppa.c time.c \
ct.c dk.c lf.c lif.c cmd_hppa.c loadfile.c elf32.c elf64.c
# stand routines
SRCS+= alloc.c exit.c getfile.c gets.c globals.c \
printf.c strerror.c strtol.c strchr.c ctime.c snprintf.c
# io routines
SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \
open.c read.c stat.c write.c cread.c readdir.c cons.c
# boot filesystems
SRCS+= ufs.c cd9660.c
.PATH: ${DIR_SA}
all: ${SALIB}
install:
.include <bsd.lib.mk>
CPPFLAGS+=-DHEAP_LIMIT=${HEAP_LIMIT} ${DEBUGFLAGS} -DNO_NET
CPPFLAGS+=-I${S}/stand/boot
CFLAGS+=${SACFLAGS} -D__INTERNAL_LIBSA_CREAD -DCOMPAT_UFS
|