source: trunk/minix/servers/pm/Makefile@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 741 bytes
Line 
1# Makefile for Process Manager (PM)
2SERVER = pm
3
4# directories
5u = /usr
6i = $u/include
7s = $i/sys
8h = $i/minix
9k = $u/src/kernel
10
11# programs, flags, etc.
12CC = exec cc
13CFLAGS = -I$i
14LDFLAGS = -i
15
16OBJ = main.o forkexit.o break.o exec.o time.o timers.o \
17 signal.o alloc.o utility.o table.o trace.o getset.o misc.o
18
19# build local binary
20all build: $(SERVER)
21$(SERVER): $(OBJ)
22 $(CC) -o $@ $(LDFLAGS) $(OBJ) -lsys -lsysutil -ltimers
23 install -S 256w $@
24
25# install with other servers
26install: /usr/sbin/$(SERVER)
27/usr/sbin/$(SERVER): $(SERVER)
28 install -o root -cs $? $@
29
30# clean up local files
31clean:
32 rm -f $(SERVER) *.o *.bak
33
34depend:
35 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
36
37# Include generated dependencies.
38include .depend
39
Note: See TracBrowser for help on using the repository browser.