Ignore:
Timestamp:
Dec 2, 2008, 9:31:29 PM (13 years ago)
Author:
Peter Johansson
Message:

adding tests for javac and jar - refs #153

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.thep.wenni/trunk/base/base2/Makefile.am

    r858 r859  
    44
    55# Copyright (C) 2007 Peter Johansson
    6 # Copyright (C) 2008 Jari Häkkinen
     6# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    77#
    88# This file is part of WeNNI,
     
    2929JAVA = WeNNI.java
    3030CLASS = $(JAVA:.java=.class)
    31 JAR  = WeNNI.jar
     31WeNNI  = WeNNI.jar
    3232
    3333if DOWNLOADBASEAPI
     
    3535endif
    3636
    37 all-local: $(JAR)
     37all-local: $(WeNNI)
    3838
    3939clean-local:; @( rm -rf *.jar *.class *~ $(TOPBUILDDIR))
     
    4242  @( rm -rf $(DOWNLOADDEP) $(PLUGINutilities) $(PLUGINutilities).tgz )
    4343
    44 install-exec-local: $(JAR)
     44install-exec-local: $(WeNNI)
    4545  @$(NORMAL_INSTALL)
    4646  test -z "$(bindir)" || $(MKDIR_P) "$(bindir)"
    47   $(INSTALL) "$(JAR)" "$(bindir)"
     47  $(INSTALL) "$(WeNNI)" "$(bindir)"
    4848  $(INSTALL) "$(PLUGINutilities)/$(PLUGINutilities).jar" "$(bindir)"
    4949
    50 install-plugin: $(JAR)
     50install-plugin: $(WeNNI)
    5151  @$(NORMAL_INSTALL)
    5252  test -z "$(PLUGINDIR)" || $(MKDIR_P) "$(PLUGINDIR)"
    53   $(INSTALL) "$(JAR)" "$(PLUGINDIR)"
     53  $(INSTALL) "$(WeNNI)" "$(PLUGINDIR)"
    5454  $(INSTALL) "$(PLUGINutilities)/$(PLUGINutilities).jar" "$(PLUGINDIR)"
    5555
    56 $(JAR): $(BUILDDIR) $(PLUGINutilities) $(DOWNLOADDEP) $(CLASS) manifest
    57   @echo Creating $(JAR)
    58   @(cd $(TOPBUILDDIR) ; jar cf ../$(JAR) .)
     56$(WeNNI): $(BUILDDIR) $(PLUGINutilities) $(DOWNLOADDEP) $(CLASS) manifest
     57  @echo Creating $(WeNNI)
     58  @(cd $(TOPBUILDDIR) ; $(JAR) cf ../$(WeNNI) .)
    5959
    6060manifest: $(TOPBUILDDIR)
     
    6767
    6868$(CLASS): $(BUILDDIR)/$(JAVA)
    69   javac -cp $(JAVACFLAGS):$(TOPBUILDDIR)  $<
     69  $(JAVAC) -cp $(JAVACFLAGS):$(TOPBUILDDIR)  $<
    7070
    7171$(BUILDDIR):
Note: See TracChangeset for help on using the changeset viewer.