We have incorporated the subdirectories yet...
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
autom4te.cache
*~
+*.tmp
TAGS
+.makefiles.stamp
+Subdir.mk
+/main.mk
+
debian/files
debian/secnet.debhelper.log
debian/*.debhelper
%.o: %.c conffile.yy.h
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@
-all: $(TARGETS) check
+all:: $(TARGETS) check
-# Automatic remaking of configuration files, from autoconf documentation
-${srcdir}/configure: configure.in
- cd ${srcdir} && autoconf
+include subdirmk/regen.mk
# autoheader might not change config.h.in, so touch a stamp file.
${srcdir}/config.h.in: config.stamp.in
-${srcdir}/config.stamp.in: configure.in
+${srcdir}/config.stamp.in: configure.ac
cd ${srcdir} && autoheader
echo timestamp > ${srcdir}/config.stamp.in
-config.h: config.stamp
-config.stamp: config.h.in config.status
- ./config.status
-
-Makefile: Makefile.in config.status
- ./config.status
-
-config.status: configure
- ./config.status --recheck
-# End of config file remaking rules
+MAKEFILE_TEMPLATES += config.h.in
# C and header file dependency rules
SOURCES:=$(OBJECTS:.o=.c) $(TEST_OBJECTS:.o=.c)
install: installdirs
set -e; ok=true; for f in $(STALE_PYTHON_FILES); do \
if test -e $$f; then \
- echo >&2 "ERROR: $$f still exists "\
+ echo >\&2 "ERROR: $$f still exists "\
"- try \`make install-force'"; \
ok=false; \
fi; \
rm -f $(STALE_PYTHON_FILES)
$(MAKE) install
-clean: $(addprefix clean-,$(TESTDIRS))
+clean:: $(addprefix clean-,$(TESTDIRS))
$(RM) -f *.o *.yy.[ch] *.tab.[ch] $(TARGETS) core version.c
$(RM) -f *.d *.pyc *~ eax-*-test.confirm eax-*-test
$(RM) -rf __pycache__
$(addprefix clean-,$(TESTDIRS)): clean-%:
$(MAKE) -C $* clean
-realclean: clean
+realclean:: clean
$(RM) -f *~ Makefile config.h *.d \
config.log config.status config.cache \
config.stamp Makefile.bak
-distclean: realclean
+distclean:: realclean
# Release checklist:
#
-/* config.h.in. Generated from configure.in by autoheader. */
+/* config.h.in. Generated from configure.ac by autoheader. */
#ifndef _CONFIG_H
#! /bin/sh
-# From configure.in Id: configure.in.
+# From configure.ac Id: configure.in.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for secnet 0.1.18+.
#
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
-SHELL'
+SHELL
+_SUBDIRMK_MAKEFILES'
ac_subst_files=''
ac_user_opts='
enable_option_checking
+ ac_config_files="$ac_config_files main.mk:main.mk.tmp Subdir.mk:Subdir.mk.tmp"
+
+
+
+ _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES subdirmk/regen.mk"
+ ac_config_files="$ac_config_files subdirmk/regen.mk:subdirmk/regen.mk.in"
+
+
+ _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES subdirmk/usual.mk"
+ ac_config_files="$ac_config_files subdirmk/usual.mk:subdirmk/usual.mk.in"
+
+
+
+
+
+
+
ac_ext=c
$as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;}
fi
-ac_config_files="$ac_config_files Makefile common.make test-common.make test-example/Makefile stest/Makefile mtest/Makefile"
+ac_config_files="$ac_config_files common.make test-common.make test-example/Makefile stest/Makefile mtest/Makefile"
ac_config_commands="$ac_config_commands default"
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+
+ '$srcdir'/subdirmk/generate --srcdir='$srcdir' $subdirmk_subdirs
+
+
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "main.mk") CONFIG_FILES="$CONFIG_FILES main.mk:main.mk.tmp" ;;
+ "Subdir.mk") CONFIG_FILES="$CONFIG_FILES Subdir.mk:Subdir.mk.tmp" ;;
+ "subdirmk/regen.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/regen.mk:subdirmk/regen.mk.in" ;;
+ "subdirmk/usual.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/usual.mk:subdirmk/usual.mk.in" ;;
"common.make") CONFIG_FILES="$CONFIG_FILES common.make" ;;
"test-common.make") CONFIG_FILES="$CONFIG_FILES test-common.make" ;;
"test-example/Makefile") CONFIG_FILES="$CONFIG_FILES test-example/Makefile" ;;
sinclude(ac_prog_cc_no_writeable_strings.m4)
+m4_include(subdirmk/subdirmk.ac)
+
AC_INIT(secnet,0.1.18+,secnet@chiark.greenend.org.uk)
AC_CONFIG_SRCDIR(secnet.c)
AC_CONFIG_HEADER(config.h)
+SUBDIRMK_SUBDIRS([])
+
AC_PREREQ(2.50)
AC_REVISION($Id: configure.in,v 1.4 2002/09/09 22:05:02 steve Exp $)
AC_MSG_WARN([Disabling IPv6 support])
fi
-AC_OUTPUT(Makefile common.make test-common.make
+AC_OUTPUT(common.make test-common.make
test-example/Makefile stest/Makefile mtest/Makefile,
echo timestamp >config.stamp)