]> granicus.if.org Git - docbook-dsssl/commitdiff
initial add
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 29 Mar 2005 09:34:07 +0000 (09:34 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 29 Mar 2005 09:34:07 +0000 (09:34 +0000)
website/extensions/saxon64/.classes/Makefile [new file with mode: 0644]
website/extensions/saxon64/.classes/Makefile.common [new file with mode: 0644]
website/extensions/saxon64/.classes/com/Makefile [new file with mode: 0644]
website/extensions/saxon64/.classes/com/nwalsh/Makefile [new file with mode: 0644]
website/extensions/saxon64/.classes/com/nwalsh/saxon/Makefile [new file with mode: 0644]
website/extensions/xalan2/.classes/Makefile [new file with mode: 0644]
website/extensions/xalan2/.classes/Makefile.common [new file with mode: 0644]
website/extensions/xalan2/.classes/com/Makefile [new file with mode: 0644]
website/extensions/xalan2/.classes/com/nwalsh/Makefile [new file with mode: 0644]
website/extensions/xalan2/.classes/com/nwalsh/xalan/Makefile [new file with mode: 0644]

diff --git a/website/extensions/saxon64/.classes/Makefile b/website/extensions/saxon64/.classes/Makefile
new file mode 100644 (file)
index 0000000..e19e727
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=..
+VPATH=$(SOURCEPATH)/
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__ com
+
+include Makefile.incl
+include ../.classes/Makefile.common
+
diff --git a/website/extensions/saxon64/.classes/Makefile.common b/website/extensions/saxon64/.classes/Makefile.common
new file mode 100644 (file)
index 0000000..7f5ec66
--- /dev/null
@@ -0,0 +1,47 @@
+SOURCEFILES=$(shell find $(VPATH) -name '*.java')
+
+all: $(CLASSFILES)
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            cd $$f; make all; cd ..; \
+          fi \
+        done
+
+clean:
+       rm -f *.class
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            cd $$f; make clean; cd ..; \
+          fi \
+        done
+
+realclean: clean
+       rm -f *.incl
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            cd $$f; make realclean; cd ..; \
+          fi \
+        done
+
+%.class : %.java
+       javac -classpath $(CLASSBASE):$(CLASSPATH) \
+               -sourcepath $(SOURCEPATH) \
+               -g -d $(CLASSBASE) \
+               $<
+
+Makefile.incl: $(SOURCEFILES)
+       printf "CLASSFILES=" > Makefile.incl
+       find $(VPATH) -name "*.java" -maxdepth 1 -exec basename {} \; \
+       | sed 's/\.java$$/.class /' \
+       | tr -d "\n" \
+       | sed 's/ \([^ \]\)/ \\\n\1/g' >> Makefile.incl
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            if [ -d "$$f" -a -f "$$f/Makefile" ]; then \
+              cd $$f; make Makefile.incl; cd ..; \
+            else if [ ! -d "$$f" ]; then \
+              mkdir $$f; \
+              fi; \
+            fi; \
+          fi; \
+        done
diff --git a/website/extensions/saxon64/.classes/com/Makefile b/website/extensions/saxon64/.classes/com/Makefile
new file mode 100644 (file)
index 0000000..ce49ec1
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=../..
+VPATH=$(SOURCEPATH)/com
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__ nwalsh
+
+include Makefile.incl
+include ../../.classes/Makefile.common
+
diff --git a/website/extensions/saxon64/.classes/com/nwalsh/Makefile b/website/extensions/saxon64/.classes/com/nwalsh/Makefile
new file mode 100644 (file)
index 0000000..35c8994
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=../../..
+VPATH=$(SOURCEPATH)/com/nwalsh
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__ saxon
+
+include Makefile.incl
+include ../../../.classes/Makefile.common
+
diff --git a/website/extensions/saxon64/.classes/com/nwalsh/saxon/Makefile b/website/extensions/saxon64/.classes/com/nwalsh/saxon/Makefile
new file mode 100644 (file)
index 0000000..4817346
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=../../../..
+VPATH=$(SOURCEPATH)/com/nwalsh/saxon
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__
+
+include Makefile.incl
+include ../../../../.classes/Makefile.common
+
diff --git a/website/extensions/xalan2/.classes/Makefile b/website/extensions/xalan2/.classes/Makefile
new file mode 100644 (file)
index 0000000..e19e727
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=..
+VPATH=$(SOURCEPATH)/
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__ com
+
+include Makefile.incl
+include ../.classes/Makefile.common
+
diff --git a/website/extensions/xalan2/.classes/Makefile.common b/website/extensions/xalan2/.classes/Makefile.common
new file mode 100644 (file)
index 0000000..7f5ec66
--- /dev/null
@@ -0,0 +1,47 @@
+SOURCEFILES=$(shell find $(VPATH) -name '*.java')
+
+all: $(CLASSFILES)
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            cd $$f; make all; cd ..; \
+          fi \
+        done
+
+clean:
+       rm -f *.class
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            cd $$f; make clean; cd ..; \
+          fi \
+        done
+
+realclean: clean
+       rm -f *.incl
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            cd $$f; make realclean; cd ..; \
+          fi \
+        done
+
+%.class : %.java
+       javac -classpath $(CLASSBASE):$(CLASSPATH) \
+               -sourcepath $(SOURCEPATH) \
+               -g -d $(CLASSBASE) \
+               $<
+
+Makefile.incl: $(SOURCEFILES)
+       printf "CLASSFILES=" > Makefile.incl
+       find $(VPATH) -name "*.java" -maxdepth 1 -exec basename {} \; \
+       | sed 's/\.java$$/.class /' \
+       | tr -d "\n" \
+       | sed 's/ \([^ \]\)/ \\\n\1/g' >> Makefile.incl
+       -@for f in $(SUBDIRS); do \
+          if [ "$$f" != "__PHONY__" ]; then \
+            if [ -d "$$f" -a -f "$$f/Makefile" ]; then \
+              cd $$f; make Makefile.incl; cd ..; \
+            else if [ ! -d "$$f" ]; then \
+              mkdir $$f; \
+              fi; \
+            fi; \
+          fi; \
+        done
diff --git a/website/extensions/xalan2/.classes/com/Makefile b/website/extensions/xalan2/.classes/com/Makefile
new file mode 100644 (file)
index 0000000..ce49ec1
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=../..
+VPATH=$(SOURCEPATH)/com
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__ nwalsh
+
+include Makefile.incl
+include ../../.classes/Makefile.common
+
diff --git a/website/extensions/xalan2/.classes/com/nwalsh/Makefile b/website/extensions/xalan2/.classes/com/nwalsh/Makefile
new file mode 100644 (file)
index 0000000..bf3e738
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=../../..
+VPATH=$(SOURCEPATH)/com/nwalsh
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__ xalan
+
+include Makefile.incl
+include ../../../.classes/Makefile.common
+
diff --git a/website/extensions/xalan2/.classes/com/nwalsh/xalan/Makefile b/website/extensions/xalan2/.classes/com/nwalsh/xalan/Makefile
new file mode 100644 (file)
index 0000000..a451849
--- /dev/null
@@ -0,0 +1,8 @@
+SOURCEPATH=../../../..
+VPATH=$(SOURCEPATH)/com/nwalsh/xalan
+CLASSBASE=$(SOURCEPATH)/.classes
+SUBDIRS=__PHONY__
+
+include Makefile.incl
+include ../../../../.classes/Makefile.common
+