summaryrefslogtreecommitdiffstats
path: root/Makefile.in
blob: 20a4acbe54322293921013253955241685a54f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
MAKE=		make

SUBDIRS=	Parser Grammar Objects Python
SUBDIRSTOO=	Include Extensions readline
DISTFILES=	README Makefile configure configure.in
DIST=		$(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)

all:		config.status
		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

localclean:
		-rm -f core *~ [@,#]* *.old *.orig *.rej
		-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)

clean:		localclean
		-for i in $(SUBDIRS); do \
			(echo $$i; cd $$i; $(MAKE) clean); \
		done

localclobber:	localclean
		-rm -f tags TAGS config.status

clobber:	localclobber
		-for i in $(SUBDIRS); do \
			(echo $$i; cd $$i; $(MAKE) clobber); \
		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
 
tar:		dist.tar.Z

dist.tar.Z:	$(DIST)
		tar cf - $(DIST) | compress >dist.tar.Z