2999
|
1 # config.make -- autoconf rules to remake the Makefile, c-auto.h, etc. |
|
2 ##ifdef HOSTNAME |
|
3 ##ac_dir = $(gnu)/share/autoconf |
|
4 ##autoconf = $(ac_dir)/acspecific.m4 $(ac_dir)/acgeneral.m4 $(ac_dir)/acsite.m4 |
|
5 ##autoheader = $(ac_dir)/acconfig.h $(ac_dir)/autoheader.m4 |
|
6 ## |
|
7 ### I define $(autoconf) to acgeneral.m4 and the other Autoconf files, so |
|
8 ### configure automatically gets remade in the sources with a new Autoconf |
|
9 ### release. But it would be bad for installers with Autoconf to remake |
|
10 ### configure (not to mention require Autoconf), so I take out the variable |
|
11 ### $(autoconf) definition before release. |
|
12 ### |
|
13 ### BTW, xt.ac isn't really required for dvipsk or dviljk, but it doesn't |
|
14 ### seem worth the trouble. |
|
15 ### |
|
16 ##configure_in = $(srcdir)/configure.in $(kpathsea_srcdir)/common.ac \ |
|
17 ## $(kpathsea_srcdir)/withenable.ac $(kpathsea_srcdir)/xt.ac \ |
3000
|
18 ## $(kpathsea_srcdir)/acklibtool.m4 |
2999
|
19 ##$(srcdir)/configure: $(configure_in) $(autoconf) |
|
20 ## cd $(srcdir) && autoconf |
|
21 ##endif |
|
22 |
|
23 config.status: $(srcdir)/configure |
|
24 $(SHELL) $(srcdir)/configure --no-create |
|
25 |
|
26 Makefile: $(srcdir)/Makefile.in config.status $(top_srcdir)/../make/*.make |
|
27 $(SHELL) config.status |
|
28 |
|
29 # This rule isn't used for the top-level Makefile, but it doesn't hurt. |
|
30 # We don't depend on config.status because configure always rewrites |
|
31 # config.status, even when it doesn't change. Thus it might be newer |
|
32 # than c-auto.h when we don't need to remake the latter. |
|
33 c-auto.h: stamp-auto |
|
34 stamp-auto: $(srcdir)/c-auto.h.in |
|
35 $(SHELL) config.status |
|
36 date >$(srcdir)/stamp-auto |
|
37 |
|
38 ##ifdef HOSTNAME |
|
39 ### autoheader reads acconfig.h (and c-auto.h.top) automatically. |
|
40 ##$(srcdir)/c-auto.h.in: $(srcdir)/stamp-auto.in |
|
41 ##$(srcdir)/stamp-auto.in: $(configure_in) $(autoheader) \ |
|
42 ## $(kpathsea_srcdir)/acconfig.h |
|
43 ## cd $(srcdir) && autoheader --localdir=$(kpathsea_srcdir) |
|
44 ## date >$(srcdir)/stamp-auto.in |
|
45 ##endif |
|
46 |
|
47 # End of config.make. |