2a53f3fb35
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB.
30 lines
695 B
Makefile
30 lines
695 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= alpha
|
|
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
|
|
|
|
machine:
|
|
ln -sf ${.CURDIR}/../../../alpha/include machine
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
beforedepend ${OBJS}: machine
|