GNUmakefile 779 Bytes
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)

CFILES =	 \
	dbgif.c \
	dbgif_requests.c \
	dbgif_services.c \
	dbgif_print.c \
	dbgif_netcomm.c \
	dbgif_ttycomm.c \
	dbgif_exe.c \
	driverd.c \
	$(NULL)
OBJ=$(CFILES:.c=.o)
TARGETS = dbgif 
LCDEFS = -fullwarn
# since this runs on the development machine, use stuff out of /usr/include
GCINCS=
#CFLAGS=-O -g -I../rk_include -I$(ROOT)/usr/include/PR -I$(ROOT)/usr/include
CFLAGS=-O -g -idirafter ../rk_include -I$(ROOT)/usr/include/PR -I$(ROOT)/usr/include -D_LANGUAGE_C

default: $(TARGETS)

dbgif: $(OBJ)
	$(CC) -o $@ $(OBJ)
#	@tag -t $@

headers exports:

install: default
	$(INSTALL) -F /usr/sbin -m 755 $(TARGETS)
	$(INSTALL) -lns ../../sbin/dbgif -F /usr/tv/bin dbgif

clobber:
	-rm -f *.o dbgif

clean:
	-rm -f *.o