freebsd-dev/sys/boot/alpha/libalpha/Makefile
David E. O'Brien 95cfc25d0d Back out last commit. I expect our bsd.*.mk gods to remove the need for
defining so many extra things in addition to INTERNALLIB.  We don't like
repetitive C code and we shouldn't for make code either.
2002-05-12 13:54:42 +00:00

34 lines
741 B
Makefile

# $FreeBSD$
LIB= alpha
NOPIC= true
NOPROFILE= true
INTERNALLIB= true
CFLAGS+= -ffreestanding
#CFLAGS+= -DDISK_DEBUG
#CPPFLAGS+= -DNO_DISKLABEL
#CPPFLAGS+= -DSAVE_MEMORY
# XXX hack to pick up stand.h
LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand
CFLAGS+= -DDEBUG
CFLAGS+= -I${LIBSTANDDIR}
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${.CURDIR}/../../common -mno-fp-regs \
-I${.CURDIR}/../../.. -I.
SRCS= OSFpal.c elf_freebsd.c prom.c prom_disp.S prom_swpal.S \
pal.S reboot.c delay.c time.c alpha_module.c devicename.c \
srmdisk.c srmnet.c getsecs.c alpha_copy.c bootinfo.c
all: libalpha.a
machine:
ln -sf ${.CURDIR}/../../../alpha/include machine
.include <bsd.lib.mk>
beforedepend ${OBJS}: machine