source: trunk/minix/servers/is/Makefile@ 20

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

Minix 3.1.2a

File size: 730 bytes
Line 
1# Makefile for Information Server (IS)
2SERVER = is
3
4# directories
5u = /usr
6i = $u/include
7s = $i/sys
8m = $i/minix
9b = $i/ibm
10k = $u/src/kernel
11p = $u/src/servers/pm
12f = $u/src/servers/fs
13
14# programs, flags, etc.
15CC = exec cc
16CFLAGS = -I$i
17LDFLAGS = -i
18LIBS = -lsys -lsysutil
19
20OBJ = main.o dmp.o dmp_kernel.o dmp_pm.o dmp_fs.o dmp_rs.o dmp_ds.o
21
22# build local binary
23all build: $(SERVER)
24$(SERVER): $(OBJ)
25 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
26# install -S 256w $@
27
28# install with other servers
29install: $(SERVER)
30 install -o root -c $? /sbin/$(SERVER)
31
32# clean up local files
33clean:
34 rm -f $(SERVER) *.o *.bak
35
36depend:
37 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
38
39# Include generated dependencies.
40include .depend
41
Note: See TracBrowser for help on using the repository browser.