Fixed extern declaration from pointer to array
[minix.git] / servers / is / Makefile
blob5edfab3ff3f5b0cdc4148f4d770ef5b730d730fc
1 # Makefile for Information Server (IS)
2 SERVER = is
4 include /etc/make.conf
6 # directories
7 u = /usr
8 i = $u/include
9 s = $i/sys
10 m = $i/minix
11 b = $i/ibm
12 k = $u/src/kernel
13 p = $u/src/servers/pm
14 f = $u/src/servers/fs
16 # programs, flags, etc.
17 CC = exec cc
18 CPPFLAGS=-I../../kernel/arch/$(ARCH)/include -I$i
19 CFLAGS = $(CPROFILE) $(CPPFLAGS)
20 LDFLAGS = -i
21 LIBS = -lsys
23 OBJ = main.o dmp.o dmp_kernel.o dmp_pm.o dmp_fs.o dmp_rs.o dmp_ds.o
25 # build local binary
26 all build: $(SERVER)
27 $(SERVER): $(OBJ)
28 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
29 # install -S 256w $@
31 # install with other servers
32 install: $(SERVER)
33 install -o root -c $< /sbin/$(SERVER)
35 # clean up local files
36 clean:
37 rm -f $(SERVER) *.o *.bak
39 depend:
40 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
42 # Include generated dependencies.
43 include .depend