fbe1641bd3
- RTL8139 driver moved to user-space; - PCI code moved to user-space; Fixed IRQ hook dump at IS server.
37 lines
622 B
Makefile
37 lines
622 B
Makefile
# Makefile for driver library
|
|
|
|
# Directories
|
|
u = /usr
|
|
i = $u/include
|
|
s = $i/sys
|
|
b = $i/ibm
|
|
m = $i/minix
|
|
|
|
# Programs, flags, etc.
|
|
CC = exec cc
|
|
CFLAGS = -I$i
|
|
LDFLAGS = -i
|
|
LIBS = -lsys -lutils
|
|
|
|
OBJECTS = driver.o drvlib.o
|
|
|
|
all build install: $(OBJECTS)
|
|
|
|
# $(CC) -c $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o *.bak
|
|
|
|
|
|
# Dependencies
|
|
a = $m/config.h $i/ansi.h $m/type.h $m/com.h $m/callnr.h $s/types.h \
|
|
$m/const.h $m/syslib.h $m/utils.h \
|
|
$i/string.h $i/limits.h $i/stddef.h $i/errno.h \
|
|
$m/partition.h $m/u64.h
|
|
|
|
driver.o: driver.h $a
|
|
driver.o: $s/ioc_disk.h
|
|
|
|
drvlib.o: driver.h $a
|
|
drvlib.o: drvlib.h $b/partition.h
|
|
|