$(archpfx)remote.dep: remote.c
$(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@
+ifneq "$(defines)" "@DEFS@"
CPPFLAGS = $(defines)
+endif
ifneq "$(wildcard $(ARCH)/makefile)" ""
include $(ARCH)/makefile
# $(libc_dir)/lib/libc.a
CC := $(CC) -b glibc
-# glob is in the C library.
-globdep = $(libc_dir)/lib/libc.a
-globlib =
-
-# So is getopt.
+# getopt is in libc.
GETOPT =
+CPPFLAGS := -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_GLOB_H
+
else
globdep = glob/libglob.a
endif
nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles))
endif
-Makefile: compatMakefile $(nolib-deps)
+Makefile.in: compatMakefile $(nolib-deps)
(cat $<; \
echo '# Automatically generated dependencies.'; \
sed -e 's/ [^ ]*\.dep//' -e 's=$(archpfx)==' $(filter-out $<,$^) \
tests: $(testdir)/run_make_tests.pl $(prog)
cd $(<D); perl $(<F)
+configure: /home/gd/gnu/autoconf/make.conf
+ cp $< $@
+/home/gd/gnu/autoconf/%: force;$(MAKE) -C $(@D) $(@F)
+
# Make the distribution tar files.
.PHONY: dist
make-doc-$(version).tar.Z: README-doc COPYING make.dvi make.info make.info*
$(make-tar)
-make-$(version).tar.Z: README COPYING ChangeLog CHANGES TAGS tags Makefile \
+make-$(version).tar.Z: README COPYING ChangeLog CHANGES configure Makefile.in \
$(srcs) remote-*.c $(globfiles) make.texinfo gpl.texinfo \
make.cp* make.fn* make.ky* make.pg* make.toc make.tp* make.vr* \
- make.aux make.man texinfo.tex
+ make.aux make.man texinfo.tex TAGS tags
$(make-tar)
ifneq (,)