From ed6025aeb91b77c888a8286a18d43d1858b51e29 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 19 Jan 2005 09:26:48 +0000 Subject: [PATCH] *** empty log message *** --- ase/configure.ac | 4 ++-- ase/makefile.in | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 ase/makefile.in diff --git a/ase/configure.ac b/ase/configure.ac index 707cdabe..9b3488ae 100644 --- a/ase/configure.ac +++ b/ase/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.59) AC_INIT([xpkit], [deb-0.1.0]) -AC_REVISION([$Revision: 1.5 $]) +AC_REVISION([$Revision: 1.6 $]) # Checks for programs. AC_PROG_CXX @@ -25,5 +25,5 @@ AC_FUNC_MEMCMP AC_FUNC_REALLOC AC_CHECK_FUNCS([memset]) -AC_CONFIG_FILES([build/Makefile]) +AC_CONFIG_FILES([Makefile build/Makefile]) AC_OUTPUT diff --git a/ase/makefile.in b/ase/makefile.in new file mode 100644 index 00000000..ee0a50f0 --- /dev/null +++ b/ase/makefile.in @@ -0,0 +1,37 @@ +SUBDIRS=c + +all: + @for i in $(SUBDIRS); \ + do \ + if [ ! -d $$i ]; \ + then \ + echo Error: $$i not a directory; \ + exit 1; \ + fi; \ + cd $$i; \ + if make $@; \ + then \ + echo > /dev/null; \ + else \ + exit 1; \ + fi; \ + cd ..; \ + done + +clean: + @for i in $(SUBDIRS); \ + do \ + if [ ! -d $$i ]; \ + then \ + echo Error: $$i not a directory; \ + exit 1; \ + fi; \ + cd $$i; \ + if make $@; \ + then \ + echo > /dev/null; \ + else \ + exit 1; \ + fi; \ + cd ..; \ + done