add/re-enable at_wini debug output
[minix3.git] / drivers / bios_wini / Makefile
blobdaf107dcad9cfc28ac7fca5104b441485f10656b
1 # Makefile for the BIOS disk driver (BIOS_WINI)
2 DRIVER = bios_wini
4 # directories
5 u = /usr
6 i = $u/include
7 s = $i/sys
8 m = $i/minix
9 b = $i/ibm
10 d = ..
12 # programs, flags, etc.
13 MAKE = exec make
14 CC = exec cc
15 CFLAGS = -I$i $(CPROFILE)
16 LDFLAGS = -i -L../libdriver
17 LIBS = -lsysutil -lsys -ltimers -ldriver
19 OBJ = bios_wini.o
21 # build local binary
22 all build: $(DRIVER)
23 $(DRIVER): $(OBJ)
24 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
25 install -S 8k $(DRIVER)
27 # install with other drivers
28 install: /sbin/$(DRIVER)
29 /sbin/$(DRIVER): $(DRIVER)
30 install -o root -cs $? $@
32 # clean up local files
33 clean:
34 rm -f $(DRIVER) *.o *.bak
36 depend:
37 mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
39 # Include generated dependencies.
40 include .depend