1 # Makefile for Process Manager (PM)
13 # programs, flags, etc.
15 CPPFLAGS
=-I..
/..
/kernel
/arch
/$(ARCH
)/include -I
$i
16 CFLAGS
= $(CPROFILE
) $(CPPFLAGS
)
19 OBJ
= main.o forkexit.o break.o exec.o time.o timers.o \
20 signal.o alloc.o utility.o table.o trace.o getset.o misc.o \
26 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) -lsysutil
-lsys
-ltimers
29 # install with other servers
30 install: /usr
/sbin
/$(SERVER
)
31 /usr
/sbin
/$(SERVER
): $(SERVER
)
32 install -o root
-cs
$?
$@
34 # clean up local files
36 rm -f
$(SERVER
) *.o
*.bak
39 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
41 # Include generated dependencies.