lib/Makefile
ab0ae9dd
 #  $Id$
 #
 #  libs makefile
 #
 # This makefile multiplexes the original goal to all the libraries listed in 
 # SUBDIRS.
 #
1c24f8eb
 
 
8ca5d8dd
 #SUBDIRS=binrpc cds xcap presence shm_regex
 
 SUBDIRS=$(filter-out CVS doc $(lib_exclude), $(strip \
 			$(patsubst %/Makefile,%,$(wildcard */Makefile))))
1c24f8eb
 
 .PHONY: subdirs $(SUBDIRS) 
 
 # clean install tags proper
 
ab0ae9dd
 
 # we need sub_goals without 'all' target
 sub_goals = $(patsubst all,,$(MAKECMDGOALS))
 
 subdirs: $(SUBDIRS)
1c24f8eb
 
 $(SUBDIRS):	
ab0ae9dd
 			-@echo "Making $(sub_goals) in $@" ; $(MAKE) $(sub_goals) -C $@
1c24f8eb
 
3514d04c
 COREPATH=..
8ca5d8dd
 include ../Makefile.targets
1c24f8eb
 
8ca5d8dd
 all:	subdirs
1c24f8eb
 
8ca5d8dd
 $(clean_targets): subdirs
1c24f8eb
 
 install:	subdirs