aboutsummaryrefslogtreecommitdiff
path: root/scaf/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-16 01:05:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-16 01:05:40 +0000
commitb694c274836ac8b04d644711ac324eac2e9ab83e (patch)
tree36b6a5c17f7e1f414f80697210c2ed3e8005035b /scaf/Makefile
parente28a07fba67af0af818dda6afa4cf67c09700816 (diff)
checking in pdp 0.12.4 from http://zwizwa.fartit.com/pd/pdp/pdp-0.12.4.tar.gz
svn path=/trunk/externals/pdp/; revision=4232
Diffstat (limited to 'scaf/Makefile')
-rw-r--r--scaf/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/scaf/Makefile b/scaf/Makefile
new file mode 100644
index 0000000..d9af670
--- /dev/null
+++ b/scaf/Makefile
@@ -0,0 +1,43 @@
+include Makefile.config
+
+all: pdp_scaf.pd_linux
+
+pdp_scaf_all:
+ make -C include
+ make -C compiler
+ make -C rules
+ make -C pdp
+
+clean:
+ rm -f *~
+ rm -f pdp_scaf.pd_linux
+ make -C include clean
+ make -C compiler clean
+ make -C rules clean
+ make -C pdp clean
+
+mrproper: clean
+ rm -rf configure
+ rm -rf config.status
+ rm -rf config.log
+ rm -rf autom4te.cache
+ #this needs to stay in
+ #rm -rf Makefile.config
+
+pdp_scaf.pd_linux: pdp_scaf_all
+ rm -f pdp_scaf.pd_linux
+ gcc -export_dynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS)
+
+install: all
+ install -d $(prefix)/lib/scaf
+ install -m 755 compiler/scafc $(prefix)/bin || echo failed
+ install -m 755 compiler/scafc.pl $(prefix)/lib/scaf || echo failed
+ install -m 644 compiler/kernel.scaf $(prefix)/lib/scaf || echo failed
+ install -m 644 compiler/scafmacro.s $(prefix)/lib/scaf || echo failed
+ install -m 644 compiler/optim.rules $(prefix)/lib/scaf || echo failed
+ install -m 755 rules/carules.scafo $(prefix)/lib/scaf/default.scafo || echo failed
+ #Check if pd is installed in $(prefix)/lib/pd.
+ #If this fails the pdp_scaf lib and the docs won't be installed.
+ test -d $(prefix)/lib/pd
+ install -m 755 pdp_scaf.pd_linux $(prefix)/lib/pd/externs
+ install -m 644 doc/*.pd $(prefix)/lib/pd/doc/5.reference