|
|
1.1 root 1: #
2: # Makefile for BackSpace modules
3: #
4:
5: MODULES= Bezier BoinkSpace FadingImage FlexyCube Life \
6: SlidingImage Sperm Teapot WorldSpace
7:
8: INSTALLDIR= $(HOME)/Library/BackSpaceViews
9:
10: all:
11: @for file in $(MODULES); do \
12: echo "# Making $$file" ; \
13: cd $$file ; \
14: make all ; \
15: cd .. ; \
16: done
17:
18: # You can set DSTROOT to determine where the modules go.
19: #
20: # If DSTROOT is specified, we put the modules in DSTROOT.
21: # otherwise we put them in the standard place, the Library/BackSpaceViews
22: # directory in the user's home.
23:
24: install:
25: @echo "# installing backspace modules" ; \
26: dirx="$(INSTALLDIR)" ; \
27: if [ "$(DSTROOT)" != "" ] ; then \
28: dirx="" ; \
29: fi ; \
30: for file in $(MODULES); do \
31: echo "# Making and installing $$file" ; \
32: cd $$file ; \
33: make install INSTALLDIR=$$dirx ; \
34: cd .. ; \
35: done
36:
37: clean:
38: @for file in $(MODULES); do \
39: echo "# Cleaning $$file" ; \
40: cd $$file ; \
41: make clean ; \
42: cd .. ; \
43: done
44:
45: installsrc:
46: -rm -rf $(SRCROOT)
47: mkdirs $(SRCROOT)
48: cp -rp README.rtf Makefile $(SRCROOT)
49: @echo "# now installing module sources" ; \
50: for i in $(MODULES) ; \
51: do (cd $$i; make installsrc SRCROOT=$(SRCROOT)/$$i) ; \
52: done
53:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.