qse/ase/makefile.in

66 lines
867 B
Makefile
Raw Normal View History

2007-03-25 15:02:54 +00:00
#
2007-04-06 14:39:58 +00:00
# $Id: makefile.in,v 1.19 2007-04-06 14:39:58 bacon Exp $
2007-03-25 15:02:54 +00:00
#
2005-01-19 09:26:48 +00:00
2007-03-25 15:02:54 +00:00
2007-04-06 14:34:23 +00:00
LIBDIRS = cmn awk lsp utl
MODE = @BUILDMODE@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
2007-03-25 15:02:54 +00:00
2007-03-25 15:03:25 +00:00
all: libs #incs
2007-03-25 15:02:54 +00:00
incs:
@for i in $(LIBDIRS); \
2005-01-19 09:26:48 +00:00
do \
if [ ! -d $$i ]; \
then \
echo Error: $$i not a directory; \
exit 1; \
fi; \
cd $$i; \
2007-03-25 15:02:54 +00:00
if make inc; \
then \
echo > /dev/null; \
else \
exit 1; \
fi; \
cd ..; \
done
libs:
@for i in $(LIBDIRS); \
do \
if [ ! -d $$i ]; \
then \
echo Error: $$i not a directory; \
exit 1; \
fi; \
cd $$i; \
if make lib; \
2005-01-19 09:26:48 +00:00
then \
echo > /dev/null; \
else \
exit 1; \
fi; \
cd ..; \
done
clean:
2007-03-25 15:02:54 +00:00
@for i in $(LIBDIRS); \
2005-01-19 09:26:48 +00:00
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
2007-04-06 14:34:23 +00:00