summaryrefslogtreecommitdiff
path: root/banner/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'banner/Makefile')
-rw-r--r--banner/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/banner/Makefile b/banner/Makefile
deleted file mode 100644
index 8e607aa..0000000
--- a/banner/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-##
-## $Id$
-##
-## Makefile for itools/banner.lib
-##
-## $Log$
-## Revision 1.1 2000/02/25 18:49:46 weber
-## Hello, world!
-##
-##
-
-CPP= cpp
-QUIETMAKE= $(MAKE) -s
-PHPCOMPILE= /usr/local/bin/phpcompile
-
-MODULE= banner
-SUBDIRS=
-CLASSES= banner.class
-
-#
-# Library creation rules, do not change stuff below...
-#
-SLIB= $(MODULE).slib
-LIB= ../$(MODULE).lib
-
-all: $(LIB)
-
-$(LIB): $(SLIB)
- @if [ -x $(PHPCOMPILE) ]; then (echo Compiling $(SLIB) to $(LIB) ...) 1>&2; $(PHPCOMPILE) <$(SLIB) >$(LIB); else (echo $(PHPCOMPILE) not found, copying $(SLIB) to $(LIB) ...) 1>&2; cp $(SLIB) $(LIB); fi
-
-$(SLIB): $(CLASSES) DUMMY
- @(echo Creating $(SLIB) from $(SUBDIRS) $(CLASSES) ...) 1>&2
- @echo "<?php" >$(SLIB)
- @(for dir in DUMMY $(SUBDIRS); do (test -d $$dir && cd $$dir && $(QUIETMAKE) cat); done; for class in DUMMY $(CLASSES); do test -f $$class && cat $$class; done) | $(CPP) -P -undef | perl -ne 's/^\s+//g; print unless /^\s*$$/' | grep -v "^<?php" | grep -v "^?>" >>$(SLIB)
- @echo "?>" >>$(SLIB)
-
-$(SUBDIRS)::
- @(cd $@; $(QUIETMAKE))
-
-DUMMY:
-
-cat: $(SLIB)
- @cat $(SLIB)
-
-clean:
- @(echo Cleaning $(SLIB) $(LIB) ...) 1>&2
- @rm -f $(SLIB) $(LIB)
- @for dir in DUMMY $(SUBDIRS); do (test -d $$dir && cd $$dir && $(QUIETMAKE) $@) || :; done