summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/old/libbug/Makefile
blob: 5359fb435bded2709e6402bd02fd30a637deb8f2 (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
LIB=bug

CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/../..
CFLAGS+=-I/usr/src/sys
CFLAGS+=-fwritable-strings

NOPIC=

SRCS+=bug.c
#SRCS+=bugcrt.c bugio.c main.c

.if (${MACHINE_ARCH} == "m68k")
SRCS+=mvme147.c bcopy.c bzero.c
.endif
.if (${MACHINE_ARCH} == "m88k")
SRCS+=bcopy.c bzero.c printf.c bugsupp.c
.endif

.PATH:    ${.CURDIR}/../../../../lib/libkern ${.CURDIR}/../../../../lib/libsa ${.CURDIR}/${MACHINE_ARCH}

all:	bugio.o

#bugio.o: bugio.c
#	${CC} ${CFLAGS} -c -O ${.ALLSRC}
#	${LD} -x -r ${.TARGET}
#	mv a.out ${.TARGET}

.include <bsd.lib.mk>