… | |
… | |
61 | #------------------------------------------------------------------------- |
61 | #------------------------------------------------------------------------- |
62 | |
62 | |
63 | all allbin alldoc tags: |
63 | all allbin alldoc tags: |
64 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
64 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
65 | |
65 | |
66 | realclean: clean |
66 | distclean realclean: distclean-local |
67 | rm -f config.h config.status config.log libtool |
|
|
68 | |
67 | |
69 | clean: |
68 | clean distclean realclean: |
70 | rm -f *~ config.cache |
|
|
71 | rm -f -r autom4te.cache |
|
|
72 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
69 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
73 | |
70 | |
74 | # |
71 | # |
75 | # entry points for other programs |
72 | # entry points for other programs |
76 | # |
73 | # |
77 | rxvt: |
74 | rxvt: |
78 | (cd src; ${MAKE}) |
75 | (cd src; ${MAKE}) |
79 | |
|
|
80 | tests: |
|
|
81 | (cd src/test; ${MAKE} tests) |
|
|
82 | |
76 | |
83 | #------------------------------------------------------------------------- |
77 | #------------------------------------------------------------------------- |
84 | configure: configure.ac aclocal.m4 config.h.in |
78 | configure: configure.ac aclocal.m4 config.h.in |
85 | cd $(srcdir); ./autogen.sh |
79 | cd $(srcdir); ./autogen.sh |
86 | |
80 | |
… | |
… | |
104 | Makefiles: |
98 | Makefiles: |
105 | $(SHELL) config.status |
99 | $(SHELL) config.status |
106 | |
100 | |
107 | cleandir: realclean |
101 | cleandir: realclean |
108 | |
102 | |
109 | # distclean goal is for making a clean source tree, but if you have run |
|
|
110 | # configure from a different directory, then doesn't destroy all your |
|
|
111 | # hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
|
|
112 | # In that case most of those commands do nothing, except cleaning *~ |
|
|
113 | # and cleaning source links. |
|
|
114 | distclean: |
103 | distclean-local: |
115 | rm -f *~ config.cache config.h config.log config.status libtool |
104 | rm -f *~ config.cache config.h config.log config.status libtool |
116 | @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
|
|
117 | rm -f Makefile |
105 | rm -f Makefile |
118 | |
106 | |
119 | distdir: |
107 | distdir: |
120 | cd doc && $(MAKE) distdepend |
108 | cd doc && $(MAKE) distdepend |
121 | cd src && $(MAKE) depend |
109 | cd src && $(MAKE) depend |