1 |
pcg |
1.1 |
# ./Makefile.in -*- Makefile -*- |
2 |
|
|
# $Id: Makefile.in,v 1.1 2003/11/18 14:22:13 root Exp $ |
3 |
|
|
@MCOMMON@ |
4 |
|
|
|
5 |
|
|
srcdir = @srcdir@ |
6 |
|
|
VPATH = @srcdir@ |
7 |
|
|
.PATH: @srcdir@ |
8 |
|
|
|
9 |
|
|
first_rule: all |
10 |
|
|
dummy: |
11 |
|
|
|
12 |
|
|
subdirs = src doc src/graphics src/test |
13 |
|
|
allsubdirs = W11 $(subdirs) |
14 |
|
|
|
15 |
|
|
DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog |
16 |
|
|
|
17 |
|
|
DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \ |
18 |
|
|
autoconf/configure.in autoconf/config.h.in \ |
19 |
|
|
autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \ |
20 |
|
|
autoconf/config.guess autoconf/config.sub \ |
21 |
|
|
autoconf/ltmain.sh \ |
22 |
|
|
|
23 |
|
|
MKDIR = $(srcdir)/autoconf/mkinstalldirs |
24 |
|
|
|
25 |
|
|
#------------------------------------------------------------------------- |
26 |
|
|
|
27 |
|
|
all allbin alldoc tags: |
28 |
|
|
@if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
29 |
|
|
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
30 |
|
|
|
31 |
|
|
realclean: clean |
32 |
|
|
$(RMF) config.h config.status config.log libtool |
33 |
|
|
|
34 |
|
|
clean: |
35 |
|
|
$(RMF) *~ config.cache |
36 |
|
|
$(RMF) -r autom4te.cache |
37 |
|
|
@if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
38 |
|
|
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
39 |
|
|
|
40 |
|
|
# |
41 |
|
|
# entry points for other programs |
42 |
|
|
# |
43 |
|
|
rxvt: |
44 |
|
|
(cd src; ${MAKE}) |
45 |
|
|
|
46 |
|
|
clock: |
47 |
|
|
(cd rclock; ${MAKE}) |
48 |
|
|
|
49 |
|
|
graphics qplot: |
50 |
|
|
(cd src/graphics; ${MAKE} qplot) |
51 |
|
|
|
52 |
|
|
tests: |
53 |
|
|
(cd src/test; ${MAKE} tests) |
54 |
|
|
|
55 |
|
|
#------------------------------------------------------------------------- |
56 |
|
|
configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in |
57 |
|
|
cd $(srcdir); |
58 |
|
|
./.prebuild |
59 |
|
|
|
60 |
|
|
config.status: |
61 |
|
|
if test -x config.status; then config.status --recheck; \ |
62 |
|
|
else $(SHELL) configure; fi |
63 |
|
|
|
64 |
|
|
autoconf/config.h.in: autoconf/configure.in |
65 |
|
|
cd $(srcdir); |
66 |
|
|
./.prebuild |
67 |
|
|
|
68 |
|
|
installdirs: |
69 |
|
|
$(MKDIR) $(DESTDIR)$(bindir) |
70 |
|
|
$(MKDIR) $(DESTDIR)$(mandir) |
71 |
|
|
|
72 |
|
|
install: installdirs |
73 |
|
|
@if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi |
74 |
|
|
@for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
75 |
|
|
|
76 |
|
|
Makefiles: |
77 |
|
|
$(SHELL) config.status |
78 |
|
|
|
79 |
|
|
cleandir: realclean |
80 |
|
|
|
81 |
|
|
# distclean goal is for making a clean source tree, but if you have run |
82 |
|
|
# configure from a different directory, then doesn't destroy all your |
83 |
|
|
# hardly compiled and linked stuff. That's why there is always $(srcdir)/ |
84 |
|
|
# In that case most of those commands do nothing, except cleaning *~ |
85 |
|
|
# and cleaning source links. |
86 |
|
|
distclean: |
87 |
|
|
(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool) |
88 |
|
|
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
89 |
|
|
(cd $(srcdir); $(RMF) Makefile autoconf/Make.common) |
90 |
|
|
|
91 |
|
|
distdirs: |
92 |
|
|
mkdir ../$(VERNAME); |
93 |
|
|
mkdir ../$(VERNAME)/autoconf; |
94 |
|
|
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@ || (echo "Failed to make distclean in $$I"; exit 0) ); done |
95 |
|
|
|
96 |
|
|
distcopy: |
97 |
|
|
$(CP) -p $(DIST) ../$(VERNAME); |
98 |
|
|
$(CP) -p $(DIST_CFG) ../$(VERNAME)/autoconf; |
99 |
|
|
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done |
100 |
|
|
|
101 |
|
|
distrib: configure autoconf/config.h.in distdirs distcopy |
102 |
|
|
|
103 |
|
|
tar.gz: ../$(VERNAME).tar.gz |
104 |
|
|
../$(VERNAME).tar.gz: |
105 |
|
|
(cd ..; tar cvf - $(VERNAME) | gzip -f9 > $(VERNAME).tar.gz) |
106 |
|
|
|
107 |
|
|
tar.Z: ../$(VERNAME).tar.Z |
108 |
|
|
../$(VERNAME).tar.Z: |
109 |
|
|
(cd ..; tar cvf - $(VERNAME) | compress > $(VERNAME).tar.Z) |
110 |
|
|
|
111 |
|
|
tar.bz2: ../$(VERNAME).tar.bz2 |
112 |
|
|
../$(VERNAME).tar.bz2: |
113 |
|
|
(cd ..; tar cvf - $(VERNAME) | bzip2 -f9 > $(VERNAME).tar.bz2) |
114 |
|
|
|
115 |
|
|
uuencode: tar.gz |
116 |
|
|
uuencode ../$(VERNAME).tar.gz $(VERNAME).tar.gz > ../$(VERNAME).tgz.uu |
117 |
|
|
|
118 |
|
|
# ------------------------------------------------------------------------ |