47 lines
1,014 B
Makefile
47 lines
1,014 B
Makefile
# $Header$
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
INSTALLDIR=$(TARGET_HOME)/bin
|
|
LIBDIR=$(TARGET_HOME)/lib/LLgen
|
|
|
|
all:
|
|
cd src; make
|
|
|
|
clean:
|
|
-cd src; make clean
|
|
|
|
install:
|
|
cd src; make
|
|
cp src/LLgen $(INSTALLDIR)/LLgen
|
|
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
|
then cp $(SRC_HOME)/util/LLgen/lib/rec $(LIBDIR)/rec ; \
|
|
cp $(SRC_HOME)/util/LLgen/lib/incl $(LIBDIR)/incl ; \
|
|
mk_manpage $(SRC_HOME)/util/LLgen/LLgen.1 $(TARGET_HOME) ; \
|
|
fi
|
|
|
|
firstinstall:
|
|
cd src; make first
|
|
cp src/LLgen $(INSTALLDIR)/LLgen
|
|
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 ; \
|
|
mk_manpage $(SRC_HOME)/util/LLgen/LLgen.1 $(TARGET_HOME) ; \
|
|
fi
|
|
|
|
cmp:
|
|
cd src; make
|
|
-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
|