Makefile
664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
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
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