ack/util/LLgen/Makefile

44 lines
888 B
Makefile
Raw Normal View History

1984-10-09 09:47:14 +00:00
# $Header$
INSTALLDIR=/usr/local/bin
LIBDIR=/usr/local/lib/LLgen
MANDIR=/usr/local/man/man1
1984-10-09 09:47:14 +00:00
1987-02-05 13:20:03 +00:00
all:
cd src; make LIBDIR=$(LIBDIR)
1984-10-09 09:47:14 +00:00
clean:
-cd src; make clean
install:
cd src; make LIBDIR=$(LIBDIR)
1987-02-05 13:20:03 +00:00
rm -f $(INSTALLDIR)/LLgen $(LIBDIR)/rec $(LIBDIR)/incl $(MANDIR)/LLgen.1
1984-10-09 09:47:14 +00:00
cp src/LLgen $(INSTALLDIR)/LLgen
1991-01-04 15:01:59 +00:00
cp lib/rec $(LIBDIR)/rec
cp lib/incl $(LIBDIR)/incl
cp LLgen.1 $(MANDIR)/LLgen.1
firstinstall:
cd src; make LIBDIR=$(LIBDIR) first
1991-01-04 15:01:59 +00:00
rm -f $(INSTALLDIR)/LLgen $(LIBDIR)/rec $(LIBDIR)/incl $(MANDIR)/LLgen.1
cp src/LLgen $(INSTALLDIR)/LLgen
1988-04-18 10:17:58 +00:00
-mkdir $(LIBDIR)
1984-10-09 09:47:14 +00:00
cp lib/rec $(LIBDIR)/rec
cp lib/incl $(LIBDIR)/incl
1987-02-05 13:20:03 +00:00
cp LLgen.1 $(MANDIR)/LLgen.1
1984-10-09 09:47:14 +00:00
cmp:
cd src; make LIBDIR=$(LIBDIR)
1984-10-09 09:47:14 +00:00
-cmp src/LLgen $(INSTALLDIR)/LLgen
-cmp lib/rec $(LIBDIR)/rec
-cmp lib/incl $(LIBDIR)/incl
1987-02-05 13:20:03 +00:00
-cmp LLgen.1 $(MANDIR)/LLgen.1
1984-10-09 09:47:14 +00:00
distr:
cd src; make distr
1984-10-09 09:47:14 +00:00
opr:
make pr | opr
pr:
@cd src; make pr