1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1998-08-21 03:17:42 +00:00
|
|
|
|
|
|
|
LIB= alpha
|
|
|
|
NOPIC= true
|
|
|
|
NOPROFILE= true
|
|
|
|
INTERNALLIB= true
|
|
|
|
|
|
|
|
# XXX hack to pick up stand.h
|
1998-09-26 10:51:38 +00:00
|
|
|
LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand
|
2001-08-31 11:01:20 +00:00
|
|
|
CFLAGS+= -I${LIBSTANDDIR}
|
1998-09-26 10:51:38 +00:00
|
|
|
CFLAGS+= -DDEBUG
|
1998-08-21 03:17:42 +00:00
|
|
|
|
|
|
|
# Pick up the bootstrap header for some interface items
|
1998-10-14 09:53:25 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../common -mno-fp-regs \
|
|
|
|
-I${.CURDIR}/../../.. -I.
|
1998-08-21 03:17:42 +00:00
|
|
|
|
1998-10-16 19:26:11 +00:00
|
|
|
#CFLAGS+= -DDISK_DEBUG
|
1998-08-21 03:17:42 +00:00
|
|
|
#CPPFLAGS+= -DNO_DISKLABEL
|
|
|
|
#CPPFLAGS+= -DSAVE_MEMORY
|
|
|
|
|
2000-10-25 23:30:04 +00:00
|
|
|
SRCS= OSFpal.c elf_freebsd.c prom.c prom_disp.S prom_swpal.S \
|
1998-08-21 03:17:42 +00:00
|
|
|
pal.S reboot.c delay.c time.c alpha_module.c devicename.c \
|
1998-10-14 09:53:25 +00:00
|
|
|
srmdisk.c srmnet.c getsecs.c alpha_copy.c bootinfo.c
|
1998-08-21 03:17:42 +00:00
|
|
|
|
1998-08-22 10:31:01 +00:00
|
|
|
all: libalpha.a
|
|
|
|
|
1998-10-14 09:53:25 +00:00
|
|
|
machine:
|
|
|
|
ln -sf ${.CURDIR}/../../../alpha/include machine
|
|
|
|
|
1998-08-21 03:17:42 +00:00
|
|
|
.include <bsd.lib.mk>
|
1998-10-14 09:53:25 +00:00
|
|
|
|
|
|
|
beforedepend ${OBJS}: machine
|