gno/kern/drivers/Makefile

34 lines
988 B
Makefile

# $Id: Makefile,v 1.2 1998/02/09 08:43:52 taubert Exp $
.INCLUDE: /src/gno/paths.mk
all: $(OBJ_DIR)modem $(OBJ_DIR)printer $(OBJ_DIR)null
$(OBJ_DIR)modem: port.o msccf.o
$(LD) $(LDFLAGS) -l /usr/lib/libsim -o $@ $<
chtyp -t 187 -a 32257 $@
$(OBJ_DIR)printer: port.o psccf.o
$(LD) $(LDFLAGS) -l /usr/lib/libsim -o $@ $<
chtyp -t 187 -a 32257 $@
$(OBJ_DIR)null: null.o
$(LD) $(LDFLAGS) -o $@ $<
chtyp -t 187 -a 32257 $@
$(OBJ_DIR)console: console.o inout.o box.root conpatch.o
$(LD) $(LDFLAGS) -o $@ $<
chtyp -t 187 -a 32257 $@
### Dependencies ###
box.root: box.mac console.equates
conpatch.asm: conpatch.mac
console.root: port.mac console.equates kern.equates ../gno/inc/tty.inc
inout.root: inout.mac console.equates kern.equates ../gno/inc/tty.inc
msccf.root: sccf.mac equates md.equates sccf.asm ../gno/inc/tty.inc
null.root: port.mac ../gno/inc/tty.inc
port.root: port.mac equates ../gno/inc/tty.inc
psccf.root: sccf.mac equates pr.equates sccf.asm ../gno/inc/tty.inc