isdn4k-utils/Makefile

59 lines
1.3 KiB
Makefile
Raw Normal View History

1997-02-22 14:58:02 +00:00
# $Id: Makefile,v 1.3 1997/02/22 14:58:02 fritz Exp $
1997-02-17 00:08:36 +00:00
#
# Toplevel Makefile for isdn4k-utils
#
export I4LVERSION=2.1
export I4LCONFDIR=/etc/isdn
1997-02-17 00:08:36 +00:00
SUBDIRS=`find . -type d -maxdepth 1`
all:
@set -e; allow_null_glob_expansion=1; \
NOMAKE=true; \
for i in */Makefile ; do \
$(MAKE) -C `dirname $$i` all; \
NOMAKE=false; \
done; \
if $$NOMAKE ; then \
echo 'Please configure the package with "make config" first!'; \
fi
install:
@set -e; allow_null_glob_expansion=1; \
for i in */Makefile ; do \
$(MAKE) -C `dirname $$i` install ;\
done
uninstall:
@set -e; allow_null_glob_expansion=1; \
for i in */Makefile ; do \
$(MAKE) -C `dirname $$i` uninstall ;\
done
clean:
@set -e; allow_null_glob_expansion=1; \
for i in */Makefile ; do \
$(MAKE) -C `dirname $$i` clean ;\
done
1997-02-22 14:58:02 +00:00
@ rm -f *~
1997-02-17 00:08:36 +00:00
1997-02-22 14:58:02 +00:00
distclean: clean
1997-02-17 00:08:36 +00:00
@set -e; allow_null_glob_expansion=1; \
for i in */Makefile ; do \
$(MAKE) -C `dirname $$i` distclean ;\
done
config:
@set -e; allow_null_glob_expansion=1; \
for i in */Makefile.in ; do \
$(MAKE) -C `dirname $$i` -f Makefile.in config ;\
done
mrproper: distclean
archive: distclean
1997-02-22 14:58:02 +00:00
@(cd .. ;\
1997-02-17 00:08:36 +00:00
mv isdn4k-utils isdn4k-utils-$(I4LVERSION) ;\
tar cvzf distisdn/isdn4k-utils-$(I4LVERSION).tar.gz isdn4k-utils-$(I4LVERSION) ;\
mv isdn4k-utils-$(I4LVERSION) isdn4k-utils )