Adapted to installation in the EM tree.
This commit is contained in:
parent
8cbd17b1ba
commit
f90babad30
1 changed files with 34 additions and 24 deletions
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
# Definitions for the making programs.
|
# Definitions for the making programs.
|
||||||
|
|
||||||
|
LIBDIR=../../lib
|
||||||
PREFLAGS= -DNDEBUG -DNASSERT
|
PREFLAGS= -DNDEBUG -DNASSERT
|
||||||
CFLAGS = -O $(PREFLAGS)
|
CFLAGS = -O $(PREFLAGS)
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
@ -28,10 +29,8 @@ CFILES = archive.c byte_order.c error.c extract.c finish.c main.c memory.c\
|
||||||
CVFILES = archive.c,v byte_order.c,v error.c,v extract.c,v finish.c,v main.c,v\
|
CVFILES = archive.c,v byte_order.c,v error.c,v extract.c,v finish.c,v main.c,v\
|
||||||
memory.c,v output.c,v read.c,v relocate.c,v save.c,v scan.c,v\
|
memory.c,v output.c,v read.c,v relocate.c,v save.c,v scan.c,v\
|
||||||
sym.c,v write.c,v
|
sym.c,v write.c,v
|
||||||
HFILES = arch.h assert.h const.h debug.h defs.h memory.h orig.h out.h\
|
HFILES = assert.h const.h debug.h defs.h memory.h orig.h scan.h
|
||||||
ranlib.h scan.h
|
HVFILES = assert.h,v const.h,v debug.h,v defs.h,v memory.h,v orig.h,v scan.h,v
|
||||||
HVFILES = arch.h,v assert.h,v const.h,v debug.h,v defs.h,v memory.h,v orig.h,v\
|
|
||||||
out.h,v ranlib.h,v scan.h,v
|
|
||||||
OFILES = archive.o byte_order.o error.o extract.o finish.o main.o memory.o\
|
OFILES = archive.o byte_order.o error.o extract.o finish.o main.o memory.o\
|
||||||
output.o read.o relocate.o save.o scan.o sym.o write.o
|
output.o read.o relocate.o save.o scan.o sym.o write.o
|
||||||
|
|
||||||
|
@ -43,6 +42,12 @@ led: $(OFILES)
|
||||||
mach.c: mach.c,v
|
mach.c: mach.c,v
|
||||||
co -q mach.c
|
co -q mach.c
|
||||||
|
|
||||||
|
install:led
|
||||||
|
cp led $(LIBDIR)/em_led
|
||||||
|
|
||||||
|
cmp: led
|
||||||
|
cmp led $(LIBDIR)/em_led
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
-for i in $(CFILES) $(HFILES) mach.c; do\
|
-for i in $(CFILES) $(HFILES) mach.c; do\
|
||||||
if test ! -f $$i; then\
|
if test ! -f $$i; then\
|
||||||
|
@ -58,6 +63,11 @@ pr: $(CVFILES) $(HVFILES) mach.c
|
||||||
co -q -p $$i | $(PR) $(PRFLAGS) -h `basename $$i ,v`;\
|
co -q -p $$i | $(PR) $(PRFLAGS) -h `basename $$i ,v`;\
|
||||||
done
|
done
|
||||||
@touch pr
|
@touch pr
|
||||||
|
opr:
|
||||||
|
make pr | opr
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm *.o led
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
-for i in $(CFILES); do\
|
-for i in $(CFILES); do\
|
||||||
|
@ -71,72 +81,72 @@ depend:
|
||||||
|
|
||||||
# The next lines are generated automatically.
|
# The next lines are generated automatically.
|
||||||
# AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
|
# AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
|
||||||
archive.o: arch.h
|
archive.o: ../../h/arch.h
|
||||||
|
archive.o: ../../h/out.h
|
||||||
|
archive.o: ../../h/ranlib.h
|
||||||
archive.o: const.h
|
archive.o: const.h
|
||||||
archive.o: debug.h
|
archive.o: debug.h
|
||||||
archive.o: defs.h
|
archive.o: defs.h
|
||||||
archive.o: memory.h
|
archive.o: memory.h
|
||||||
archive.o: out.h
|
|
||||||
archive.o: ranlib.h
|
|
||||||
byte_order.o: assert.h
|
byte_order.o: assert.h
|
||||||
byte_order.o: const.h
|
byte_order.o: const.h
|
||||||
|
error.o: ../../h/out.h
|
||||||
error.o: const.h
|
error.o: const.h
|
||||||
error.o: out.h
|
extract.o: ../../h/out.h
|
||||||
extract.o: const.h
|
extract.o: const.h
|
||||||
extract.o: debug.h
|
extract.o: debug.h
|
||||||
extract.o: defs.h
|
extract.o: defs.h
|
||||||
extract.o: memory.h
|
extract.o: memory.h
|
||||||
extract.o: orig.h
|
extract.o: orig.h
|
||||||
extract.o: out.h
|
|
||||||
extract.o: scan.h
|
extract.o: scan.h
|
||||||
|
finish.o: ../../h/out.h
|
||||||
finish.o: const.h
|
finish.o: const.h
|
||||||
finish.o: defs.h
|
finish.o: defs.h
|
||||||
finish.o: memory.h
|
finish.o: memory.h
|
||||||
finish.o: orig.h
|
finish.o: orig.h
|
||||||
finish.o: out.h
|
|
||||||
finish.o: scan.h
|
finish.o: scan.h
|
||||||
|
main.o: ../../h/out.h
|
||||||
main.o: const.h
|
main.o: const.h
|
||||||
main.o: debug.h
|
main.o: debug.h
|
||||||
main.o: defs.h
|
main.o: defs.h
|
||||||
main.o: memory.h
|
main.o: memory.h
|
||||||
main.o: orig.h
|
main.o: orig.h
|
||||||
main.o: out.h
|
memory.o: ../../h/out.h
|
||||||
memory.o: assert.h
|
memory.o: assert.h
|
||||||
memory.o: const.h
|
memory.o: const.h
|
||||||
memory.o: debug.h
|
memory.o: debug.h
|
||||||
memory.o: mach.c
|
memory.o: mach.c
|
||||||
memory.o: memory.h
|
memory.o: memory.h
|
||||||
memory.o: out.h
|
output.o: ../../h/out.h
|
||||||
output.o: const.h
|
output.o: const.h
|
||||||
output.o: memory.h
|
output.o: memory.h
|
||||||
output.o: out.h
|
read.o: ../../h/arch.h
|
||||||
read.o: arch.h
|
read.o: ../../h/out.h
|
||||||
|
read.o: ../../h/ranlib.h
|
||||||
read.o: assert.h
|
read.o: assert.h
|
||||||
read.o: const.h
|
read.o: const.h
|
||||||
read.o: out.h
|
relocate.o: ../../h/out.h
|
||||||
read.o: ranlib.h
|
|
||||||
relocate.o: const.h
|
relocate.o: const.h
|
||||||
relocate.o: debug.h
|
relocate.o: debug.h
|
||||||
relocate.o: defs.h
|
relocate.o: defs.h
|
||||||
relocate.o: orig.h
|
relocate.o: orig.h
|
||||||
relocate.o: out.h
|
save.o: ../../h/arch.h
|
||||||
save.o: arch.h
|
save.o: ../../h/out.h
|
||||||
save.o: assert.h
|
save.o: assert.h
|
||||||
save.o: const.h
|
save.o: const.h
|
||||||
save.o: memory.h
|
save.o: memory.h
|
||||||
save.o: out.h
|
scan.o: ../../h/arch.h
|
||||||
scan.o: arch.h
|
scan.o: ../../h/out.h
|
||||||
|
scan.o: ../../h/ranlib.h
|
||||||
scan.o: assert.h
|
scan.o: assert.h
|
||||||
scan.o: const.h
|
scan.o: const.h
|
||||||
scan.o: memory.h
|
scan.o: memory.h
|
||||||
scan.o: out.h
|
|
||||||
scan.o: ranlib.h
|
|
||||||
scan.o: scan.h
|
scan.o: scan.h
|
||||||
|
sym.o: ../../h/out.h
|
||||||
sym.o: const.h
|
sym.o: const.h
|
||||||
sym.o: memory.h
|
sym.o: memory.h
|
||||||
sym.o: out.h
|
write.o: ../../h/out.h
|
||||||
write.o: assert.h
|
write.o: assert.h
|
||||||
write.o: const.h
|
write.o: const.h
|
||||||
write.o: memory.h
|
write.o: memory.h
|
||||||
write.o: orig.h
|
write.o: orig.h
|
||||||
write.o: out.h
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue