panic() cleanup.
[minix.git] / kernel / system / Makefile
blobf2d0081b2f692a2b68bdb0675f5b7aa1f8b65134
1 # Makefile for system library implementation
3 include /etc/make.conf
5 # Directories
6 u = /usr
7 i = $u/include
8 a = ../arch
10 # Programs, flags, etc.
11 #CC = exec cc $(CFLAGS) -c
12 CC = exec cc
13 #CCNOPROF = exec cc $(CFLAGSNOPROF) -c # no call profiling for these
14 CPP = $l/cpp
15 LD = $(CC) -.o
16 CFLAGS = -I$i $(CPROFILE) -I$a/$(ARCH)/include
17 #CFLAGSNOPROF = -I$i
18 LDFLAGS = -i
20 SYSTEM = ../system.a
22 # What to make.
23 all build install: $(SYSTEM)
25 OBJECTS = \
26 do_unused.o \
27 do_fork.o \
28 do_exec.o \
29 do_newmap.o \
30 do_exit.o \
31 do_trace.o \
32 do_nice.o \
33 do_runctl.o \
34 do_times.o \
35 do_setalarm.o \
36 do_stime.o \
37 do_vtimer.o \
38 do_irqctl.o \
39 do_devio.o \
40 do_vdevio.o \
41 do_copy.o \
42 do_umap.o \
43 do_memset.o \
44 do_setgrant.o \
45 do_privctl.o \
46 do_segctl.o \
47 do_safecopy.o \
48 do_safemap.o \
49 do_sysctl.o \
50 do_getksig.o \
51 do_endksig.o \
52 do_kill.o \
53 do_sigsend.o \
54 do_sigreturn.o \
55 do_abort.o \
56 do_getinfo.o \
57 do_sprofile.o \
58 do_cprofile.o \
59 do_profbuf.o \
60 do_vmctl.o
62 build $(SYSTEM): $(SYSTEM)($(OBJECTS))
63 aal cr $@ *.o
64 # aal cr $@ $(OBJECTS)
65 # ar cru $(.TARGET) $(.OODATE)
67 clean:
68 rm -f $(SYSTEM) *.o *~ *.bak
70 depend:
71 mkdep "$(CC) $(CFLAGS) -E" *.c > .depend