/[cashew-s-editor]/cashews/lib/Makefile.am
ViewVC logotype

Diff of /cashews/lib/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gnu_andrew, Tue Feb 1 01:01:08 2005 UTC revision 1.3 by gnu_andrew, Mon Mar 28 19:29:21 2005 UTC
# Line 8  sinclude $(JAVA_DEPEND) Line 8  sinclude $(JAVA_DEPEND)
8  #propertydirs :=  $(shell cd $(top_srcdir)/resource && $(FIND) nongnu -type d ! -name CVS -print)  #propertydirs :=  $(shell cd $(top_srcdir)/resource && $(FIND) nongnu -type d ! -name CVS -print)
9  #propertyfiles :=  $(shell cd $(top_srcdir)/resource && $(FIND) nongnu -name \*\.properties -print)  #propertyfiles :=  $(shell cd $(top_srcdir)/resource && $(FIND) nongnu -name \*\.properties -print)
10    
11  compile_classpath = $(top_srcdir):.:$(USER_CLASSLIB)  if FOUND_ECLIPSE
12            RUNTIME=`echo $(ECLIPSE)/plugins/org.eclipse.core.runtime*/runtime.jar`
13            UI=`echo $(ECLIPSE)/plugins/org.eclipse.ui.workbench*/workbench.jar`
14            OSGI=`echo $(ECLIPSE)/plugins/org.eclipse.osgi*/osgi.jar`
15            JFACE=`echo $(ECLIPSE)/plugins/org.eclipse.jface*/jface.jar`
16            GEF=`echo $(ECLIPSE)/plugins/org.eclipse.gef*/gef.jar`
17            SWT=`find $(ECLIPSE) -name 'swt.jar'`
18            VIEWS=`find $(ECLIPSE) -name 'views.jar'`
19            DRAW2D=`find $(ECLIPSE) -name 'draw2d.jar'`
20            RESOURCES=`find $(ECLIPSE) -name 'resources.jar'`
21            IDE=`find $(ECLIPSE) -name 'ide.jar'`
22            INSTALLDIR=$(ECLIPSE)/plugins/nongnu.cashews.editor.composer_$(VERSION)
23    
24            compile_classpath = $(top_srcdir):.:$(RUNTIME):$(UI):$(OSGI):$(JFACE):$(GEF):$(SWT):$(VIEWS):$(DRAW2D):$(RESOURCES):$(IDE):$(USER_CLASSLIB)
25    else
26            compile_classpath = $(top_srcdir):.:$(USER_CLASSLIB)
27    endif
28    
29  # handling source to bytecode compiler programs like gcj, jikes  and kjc  # handling source to bytecode compiler programs like gcj, jikes  and kjc
30  if FOUND_ECJ  if FOUND_ECJ
31  JAVAC = $(ECJ) -classpath $(compile_classpath) -d . @classes  JAVAC = $(ECJ) -1.5 -classpath $(compile_classpath) -d . @classes
32  else  else
33  if FOUND_GCJ  if FOUND_GCJ
34  JAVAC = $(GCJ) --classpath $(compile_classpath) -C -d . @classes  JAVAC = $(GCJ) --classpath $(compile_classpath) -C -d . @classes
# Line 35  JAVAH = $(USER_JAVAH) -jni -classpath .: Line 51  JAVAH = $(USER_JAVAH) -jni -classpath .:
51    
52  if INSTALL_GLIBJ_ZIP  if INSTALL_GLIBJ_ZIP
53    
54  pkgdata_DATA = cashews.jar  if FOUND_ECLIPSE
55    pkgdata_DATA = rdf.jar owls.jar eclipse.jar
56    install-data-local: genclasses compile-classes eclipse.jar
57            mkdir $(INSTALLDIR)
58            cp eclipse.jar $(INSTALLDIR)
59            cp $(top_srcdir)/resource/plugin.xml $(INSTALLDIR)
60    else
61    pkgdata_DATA = rdf.jar owls.jar
62    endif
63    
64  endif # INSTALL_GLIBJ_ZIP  endif # INSTALL_GLIBJ_ZIP
65    
# Line 55  endif # INSTALL_CLASS_FILES Line 79  endif # INSTALL_CLASS_FILES
79    
80  .PHONY: genclasses  .PHONY: genclasses
81    
82  cashews.jar: classes compile-classes # resources  rdf.jar: classes compile-classes # resources
83          if test "$(JAR)" != ""; then $(JAR) cf cashews.jar nongnu > /dev/null; fi          if test "$(JAR)" != ""; then rm rdf.jar; $(JAR) cf rdf.jar `find nongnu -path '*rdf*' -name '*class'` > /dev/null; fi
84    if FOUND_GCJ
85    $(GCJ) -shared -fjni -findirect-dispatch -o rdf.jar.so rdf.jar
86    endif
87    
88    owls.jar: classes compile-classes # resources
89            if test "$(JAR)" != ""; then rm owls.jar; $(JAR) cf owls.jar `find nongnu -path '*owls*' -name '*class'` > /dev/null; fi
90    #if FOUND GCJ
91    #$(GCJ) -shared -fjni -findirect-dispatch -o owls.jar.so owls.jar
92    #endif
93    
94    if FOUND_ECLIPSE
95    
96    eclipse.jar: classes compile-classes # resources
97            if test "$(JAR)" != ""; then rm eclipse.jar; $(JAR) cf eclipse.jar `find nongnu -path '*eclipse*' -name '*class'` > /dev/null; fi
98    #if FOUND GCJ
99    #$(GCJ) -shared -fjni -findirect-dispatch -o eclipse.jar.so eclipse.jar
100    #endif
101    
102    endif
103    
104  #resources:  #resources:
105  #       if ! [ -e gnu ]; then mkdir gnu; fi  #       if ! [ -e gnu ]; then mkdir gnu; fi

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26