source: trunk/minix/servers/ds/Makefile@ 9

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

Minix 3.1.2a

File size: 707 bytes
Line 
1# Makefile for Data Store Server (DS)
2SERVER = ds
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 store.o
21
22# build local binary
23all build: $(SERVER)
24$(SERVER): $(OBJ)
25 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
26 install -S 16k $@
27
28# install with other servers
29install: $(SERVER)
30 install -o root -c $? /sbin/$(SERVER)
31# install -o root -cs $? $@
32
33# clean up local files
34clean:
35 rm -f $(SERVER) *.o *.bak
36
37depend:
38 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
39
40# Include generated dependencies.
41include .depend
42
Note: See TracBrowser for help on using the repository browser.