ack/mach/proto/libg/proto.make

49 lines
1 KiB
Plaintext
Raw Normal View History

1994-06-24 14:02:31 +00:00
# $Id$
1991-08-23 14:07:27 +00:00
#PARAMS do not remove this line!
MACHFL= -O -L
SUB =
ASAR = aal
RANLIB = :
COMPILE = compmodule
#PREF = pc
#SRC=lang/pc/libpc
#MACH=MACHINE
#SUF=o
HEADSRC=$(SRC_HOME)/$(SRC)/head_$(PREF).e
all: head tail
head: head_$(PREF)
tail: tail_$(PREF)$(SUB)
headcp: head
cp head_$(PREF) $(TARGET_HOME)/lib/$(MACH)/head_$(PREF)
rm -f head_$(PREF)
tailcp: tail
1991-09-18 10:02:37 +00:00
cp tail_$(PREF)$(SUB) $(TARGET_HOME)/lib/$(MACH)/tail_$(PREF)$(SUB)
$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_$(PREF)$(SUB)
1991-08-23 14:07:27 +00:00
rm -f tail_$(PREF)$(SUB)
cp: headcp tailcp
head_$(PREF): $(HEADSRC)
cp $(HEADSRC) head_$(PREF).e
1991-09-18 10:02:37 +00:00
$(MACH) $(MACHFL) -c -I$(TARGET_HOME)/h head_$(PREF).e
1991-08-23 14:07:27 +00:00
mv head_$(PREF).$(SUF) head_$(PREF)
-rm -f head_$(PREF).[ekm$(SUF)]
tail_$(PREF)$(SUB):
@echo translation test
1991-09-18 10:02:37 +00:00
@$(MACH) $(MACHFL) -c $(SRC_HOME)/mach/proto/libg/barrier.c
1991-08-23 14:07:27 +00:00
@-rm -f barrier.[oeskm] barrier.so
@echo OK
-rm -f tail_$(PREF)$(SUB)
1991-09-18 18:44:30 +00:00
MACH="$(MACH)" MACHFL="$(MACHFL) -LIB -L" ASAR=$(ASAR) SRC=$(SRC) \
1991-08-23 14:07:27 +00:00
RANLIB="$(RANLIB)" SUF="$(SUF)" \
march $(SRC_HOME)/$(SRC) tail_$(PREF)$(SUB) $(COMPILE)