042c4ac395
Updated debugging dumps at IS server, and function key control. NOTE: pm modified with DEBUG() output, to be removed later.
38 lines
679 B
Makefile
38 lines
679 B
Makefile
# Makefile for the init program (INIT)
|
|
SERVER = init
|
|
|
|
# directories
|
|
u = /usr
|
|
i = $u/include
|
|
s = $i/sys
|
|
h = $i/minix
|
|
k = $u/src/kernel
|
|
|
|
# programs, flags, etc.
|
|
CC = exec cc
|
|
CFLAGS = -I$i -O -D_MINIX -D_POSIX_SOURCE
|
|
LDFLAGS = -i
|
|
|
|
OBJ = init.o
|
|
|
|
# build local binary
|
|
all build: $(SERVER)
|
|
$(SERVER): $(OBJ)
|
|
$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJ) -lutils
|
|
install -S 192w $@
|
|
|
|
# install with other servers
|
|
install: /usr/sbin/servers/$(SERVER)
|
|
/usr/sbin/servers/$(SERVER): $(SERVER)
|
|
install -o root -cs $? $@
|
|
|
|
# clean up local files
|
|
clean:
|
|
rm -f $(SERVER) *.o *.bak
|
|
|
|
depend:
|
|
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
|
|
|
# Include generated dependencies.
|
|
include .depend
|
|
|