Import 2.3.16
[davej-history.git] / arch / sparc / prom / Makefile
blob917aa9ad72cfc23b3bc5b29fbaf569a1c50ecc7d
1 # $Id: Makefile,v 1.6 1998/01/30 10:58:59 jj Exp $
2 # Makefile for the Sun Boot PROM interface library under
3 # Linux.
5 # Note! Dependencies are done automagically by 'make dep', which also
6 # removes any old dependencies. DON'T put your own dependencies here
7 # unless it's something special (ie not a .c file).
9 # Note 2! The CFLAGS definitions are now in the main makefile...
11 OBJS = bootstr.o devmap.o devops.o init.o memory.o misc.o mp.o \
12 palloc.o ranges.o segment.o console.o printf.o tree.o
14 ifeq ($(CONFIG_SUN4),y)
15 OBJS += sun4prom.o
16 endif
18 all: promlib.a
20 promlib.a: $(OBJS)
21 $(AR) rcs promlib.a $(OBJS)
22 sync
24 dep:
25 $(CPP) -M *.c > .depend
27 include $(TOPDIR)/Rules.make