1993-12-24 06:39:16 -04:00
|
|
|
MAKE= make
|
|
|
|
|
|
|
|
SUBDIRS= Parser Grammar Objects Python
|
1993-12-26 14:24:40 -04:00
|
|
|
SUBDIRSTOO= Include Extensions readline
|
|
|
|
DISTFILES= README Makefile configure configure.in
|
|
|
|
DIST= $(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)
|
1993-12-24 06:39:16 -04:00
|
|
|
|
|
|
|
all: config.status
|
1993-12-28 15:39:56 -04:00
|
|
|
for i in $(SUBDIRS); do \
|
|
|
|
(echo $$i; cd $$i; $(MAKE) all); \
|
|
|
|
done
|
|
|
|
|
|
|
|
tags: ctags -t Parser/*.[ch] Objects/*.[ch] Python/*.[ch] Include/*.h
|
|
|
|
|
|
|
|
TAGS: etags -t Parser/*.[ch] Objects/*.[ch] Python/*.[ch] Include/*.h
|
|
|
|
|
|
|
|
depend:
|
|
|
|
for i in $(SUBDIRS); do \
|
|
|
|
(echo $$i; cd $$i; $(MAKE) depend); \
|
|
|
|
done
|
1993-12-24 06:39:16 -04:00
|
|
|
|
|
|
|
localclean:
|
|
|
|
-rm -f core *~ [@,#]* *.old *.orig *.rej
|
1993-12-26 14:24:40 -04:00
|
|
|
-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)
|
1993-12-24 06:39:16 -04:00
|
|
|
|
|
|
|
clean: localclean
|
|
|
|
-for i in $(SUBDIRS); do \
|
1993-12-28 15:39:56 -04:00
|
|
|
(echo $$i; cd $$i; $(MAKE) clean); \
|
1993-12-24 06:39:16 -04:00
|
|
|
done
|
|
|
|
|
1993-12-28 15:39:56 -04:00
|
|
|
localclobber: localclean
|
|
|
|
-rm -f tags TAGS config.status
|
|
|
|
|
|
|
|
clobber: localclobber
|
1993-12-24 06:39:16 -04:00
|
|
|
-for i in $(SUBDIRS); do \
|
1993-12-28 15:39:56 -04:00
|
|
|
(echo $$i; cd $$i; $(MAKE) clobber); \
|
1993-12-24 06:39:16 -04:00
|
|
|
done
|
|
|
|
|
|
|
|
distclean: clobber
|
|
|
|
-for i in $(SUBDIRS); do \
|
|
|
|
if test -f $$i/Makefile.in; then \
|
|
|
|
rm -f $$i/Makefile; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
Makefiles: config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
config.status: configure
|
|
|
|
./configure
|
|
|
|
|
|
|
|
configure: configure.in
|
|
|
|
autoconf
|
|
|
|
|
1993-12-26 14:24:40 -04:00
|
|
|
tar: dist.tar.Z
|
|
|
|
|
|
|
|
dist.tar.Z: $(DIST)
|
|
|
|
tar cf - $(DIST) | compress >dist.tar.Z
|