3 # Copyright (C) 1995, 1996 Ovidiu Predescu and Mircea Oancea.
6 # Author: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
8 # This file is part of libFoundation.
10 # Permission to use, copy, modify, and distribute this software and its
11 # documentation for any purpose and without fee is hereby granted, provided
12 # that the above copyright notice appear in all copies and that both that
13 # copyright notice and this permission notice appear in supporting
16 # We disclaim all warranties with regard to this software, including all
17 # implied warranties of merchantability and fitness, in no event shall
18 # we be liable for any special, indirect or consequential damages or any
19 # damages whatsoever resulting from loss of use, data or profits, whether in
20 # an action of contract, negligence or other tortious action, arising out of
21 # or in connection with the use or performance of this software.
26 include $(TOP)/config.mak
28 DIRS_TO_MAKE = Foundation Resources examples
30 all clean distclean realclean install uninstall check check-all::
31 @(dir=`(cd $(TOP); pwd)`; newdir=`(pwd | sed "s%$$dir/%%")`;\
32 if test "$$newdir" = "$$dir"; then dir=; else dir=$$newdir/; fi; \
33 for f in $(DIRS_TO_MAKE); do \
34 echo Making $@ in $${dir}$$f...;\
35 (cd $$f; $(MAKE) $@ OBJDIR=$(OBJDIR)); \
39 rm -f lib/libFoundation.*
42 rm -f config.cache config.log config.status config.h config.mak \
43 GNUmakefile lib/libFoundation.*
48 @(echo Making $@ in Foundation...; \
49 (cd Foundation; $(MAKE) $@ OBJDIR=$(OBJDIR)))