1 # Makefile for terminal driver (TTY)
14 # programs, flags, etc.
17 CPPFLAGS
= -I
$i -I..
/..
/kernel
/arch
/$(ARCH
)/include
20 LIBS
= -lsysutil
-lsys
-ltimers
22 OBJ
= tty.o console.o vidcopy.o keyboard.o pty.o rs232.o
27 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
28 install -S
8k
$(DRIVER
)
30 # install with other drivers
32 cd keymaps
&& $(MAKE
) -$(MAKEFLAGS
) install
34 #/sbin/$(DRIVER): $(DRIVER)
35 # install -o root -cs $? $@
37 # clean up local files
39 cd keymaps
&& $(MAKE
) -$(MAKEFLAGS
) $@
40 rm -f
$(DRIVER
) *.o
*.bak
43 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
45 # Include generated dependencies.