Make targets proper so this builds both as a make with no args, make all

or make dependall (without the latter snapshot builds break).

Also, change the build layout for the 2 standalone objs.

XXX - Add them to LOBJS. (We're not building lint libraries, but having them
in LOBJS and MKLINT=no results in objects building anyways. This needs to be
cleaner but nothing in the standard mk files jumps out as "other object files")
This commit is contained in:
jmc 2001-02-04 08:59:57 +00:00
parent 17a976fa32
commit e1fb29e236

View File

@ -1,7 +1,14 @@
# $NetBSD: Makefile,v 1.24 2000/07/16 21:56:13 jdolecek Exp $
# $NetBSD: Makefile,v 1.25 2001/02/04 08:59:57 jmc Exp $
LIB=sa
#
# We're not actually building a lint version, but this way the separate object
# files get built
#
LOBJS=SRT0.o SRT1.o
MKLINT=no
MKPIC=no
MKPROFILE=no
@ -41,8 +48,6 @@ SRC_here= clock.c dev_disk.c devopen.c exec_sun.c \
SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here}
SRCS+= ${S}/arch/sun3/sun3/ctrlsp.S
all: SRT0.o SRT1.o
# only needed during build
libinstall::