1994-06-24 11:31:16 +00:00
|
|
|
# $Id$
|
1991-08-27 10:18:09 +00:00
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
|
|
|
INSTALLDIR=$(TARGET_HOME)/bin
|
|
|
|
LIBDIR=$(TARGET_HOME)/lib/LLgen
|
|
|
|
|
|
|
|
all:
|
1991-11-23 10:41:43 +00:00
|
|
|
cd src; make LIBDIR=$(LIBDIR)
|
1991-08-27 10:18:09 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-cd src; make clean
|
|
|
|
|
|
|
|
install:
|
1991-11-23 10:41:43 +00:00
|
|
|
cd src; make LIBDIR=$(LIBDIR)
|
1991-08-27 10:18:09 +00:00
|
|
|
cp src/LLgen $(INSTALLDIR)/LLgen
|
1991-10-14 09:18:33 +00:00
|
|
|
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
|
|
|
then cp $(SRC_HOME)/util/LLgen/lib/rec $(LIBDIR)/rec ; \
|
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/incl $(LIBDIR)/incl ; \
|
1991-11-05 15:31:14 +00:00
|
|
|
mk_manpage $(SRC_HOME)/util/LLgen/LLgen.1 $(TARGET_HOME) ; \
|
1991-10-14 09:18:33 +00:00
|
|
|
fi
|
1991-08-27 10:18:09 +00:00
|
|
|
|
|
|
|
firstinstall:
|
1991-11-23 10:41:43 +00:00
|
|
|
cd src; make LIBDIR=$(LIBDIR) first
|
1991-08-27 10:18:09 +00:00
|
|
|
cp src/LLgen $(INSTALLDIR)/LLgen
|
1991-10-14 09:18:33 +00:00
|
|
|
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
|
|
|
then if [ -d $(LIBDIR) ] ; then : ; else mkdir $(LIBDIR) ; fi ; \
|
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/rec $(LIBDIR)/rec ; \
|
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/incl $(LIBDIR)/incl ; \
|
1991-11-05 15:31:14 +00:00
|
|
|
mk_manpage $(SRC_HOME)/util/LLgen/LLgen.1 $(TARGET_HOME) ; \
|
1991-10-14 09:18:33 +00:00
|
|
|
fi
|
1991-08-27 10:18:09 +00:00
|
|
|
|
|
|
|
cmp:
|
1991-11-23 10:41:43 +00:00
|
|
|
cd src; make LIBDIR=$(LIBDIR)
|
1991-08-27 10:18:09 +00:00
|
|
|
-cmp src/LLgen $(INSTALLDIR)/LLgen
|
|
|
|
-cmp $(SRC_HOME)/util/LLgen/lib/rec $(LIBDIR)/rec
|
|
|
|
-cmp $(SRC_HOME)/util/LLgen/lib/incl $(LIBDIR)/incl
|
|
|
|
|
|
|
|
distr:
|
|
|
|
cd src; make distr
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@cd src; make pr
|