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 ; \
|
1997-02-21 12:23:04 +00:00
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/nc_incl $(LIBDIR)/nc_incl ; \
|
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/nc_rec $(LIBDIR)/nc_rec ; \
|
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 ; \
|
1997-02-21 12:23:04 +00:00
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/nc_incl $(LIBDIR)/nc_incl ; \
|
|
|
|
cp $(SRC_HOME)/util/LLgen/lib/nc_rec $(LIBDIR)/nc_rec ; \
|
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
|
1997-02-21 12:23:04 +00:00
|
|
|
-cmp $(SRC_HOME)/util/LLgen/lib/nc_rec $(LIBDIR)/nc_rec
|
|
|
|
-cmp $(SRC_HOME)/util/LLgen/lib/nc_incl $(LIBDIR)/nc_incl
|
1991-08-27 10:18:09 +00:00
|
|
|
|
|
|
|
distr:
|
|
|
|
cd src; make distr
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@cd src; make pr
|