ack/util/LLgen/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

1994-06-24 11:31:16 +00:00
# $Id$
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
1997-02-21 12:23:04 +00:00
cp lib/nc_rec $(LIBDIR)/nc_rec
cp lib/nc_incl $(LIBDIR)/nc_incl
1991-01-04 15:01:59 +00:00
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
1997-02-21 12:23:04 +00:00
cp lib/nc_rec $(LIBDIR)/nc_rec
cp lib/nc_incl $(LIBDIR)/nc_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
1997-02-21 12:23:04 +00:00
-cmp lib/nc_rec $(LIBDIR)/nc_rec
-cmp lib/nc_incl $(LIBDIR)/nc_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