2009-06-03 09:22:46 +08:00
|
|
|
SUBDIRS = com
|
2008-02-01 08:49:38 +08:00
|
|
|
|
2012-03-16 05:05:12 +08:00
|
|
|
JAVAC = javac
|
|
|
|
JAR = jar
|
|
|
|
|
2012-09-22 01:36:27 +08:00
|
|
|
if !GRAPHICS_DISABLED
|
2012-03-16 05:05:12 +08:00
|
|
|
SCROLLVIEW_FILES = \
|
|
|
|
com/google/scrollview/ui/SVAbstractMenuItem.java \
|
|
|
|
com/google/scrollview/ui/SVCheckboxMenuItem.java \
|
|
|
|
com/google/scrollview/ui/SVEmptyMenuItem.java \
|
|
|
|
com/google/scrollview/events/SVEvent.java \
|
|
|
|
com/google/scrollview/events/SVEventHandler.java \
|
|
|
|
com/google/scrollview/events/SVEventType.java \
|
|
|
|
com/google/scrollview/ui/SVImageHandler.java \
|
|
|
|
com/google/scrollview/ui/SVMenuBar.java \
|
|
|
|
com/google/scrollview/ui/SVMenuItem.java \
|
|
|
|
com/google/scrollview/ui/SVPopupMenu.java \
|
|
|
|
com/google/scrollview/ui/SVSubMenuItem.java \
|
|
|
|
com/google/scrollview/ui/SVWindow.java \
|
|
|
|
com/google/scrollview/ScrollView.java
|
|
|
|
|
|
|
|
SCROLLVIEW_CLASSES = \
|
|
|
|
com/google/scrollview/ui/SVAbstractMenuItem.class \
|
|
|
|
com/google/scrollview/ui/SVCheckboxMenuItem.class \
|
|
|
|
com/google/scrollview/ui/SVEmptyMenuItem.class \
|
|
|
|
com/google/scrollview/events/SVEvent.class \
|
|
|
|
com/google/scrollview/events/SVEventHandler.class \
|
|
|
|
com/google/scrollview/events/SVEventType.class \
|
|
|
|
com/google/scrollview/ui/SVImageHandler.class \
|
|
|
|
com/google/scrollview/ui/SVMenuBar.class \
|
|
|
|
com/google/scrollview/ui/SVMenuItem.class \
|
|
|
|
com/google/scrollview/ui/SVPopupMenu.class \
|
|
|
|
com/google/scrollview/ui/SVSubMenuItem.class \
|
|
|
|
com/google/scrollview/ui/SVWindow.class \
|
|
|
|
com/google/scrollview/ScrollView.class
|
|
|
|
|
|
|
|
SCROLLVIEW_LIBS = \
|
|
|
|
piccolo-1.2.jar \
|
|
|
|
piccolox-1.2.jar
|
|
|
|
|
|
|
|
CLASSPATH = ./piccolo-1.2.jar:./piccolox-1.2.jar
|
|
|
|
|
|
|
|
ScrollView.jar : $(SCROLLVIEW_CLASSES)
|
|
|
|
$(JAR) cf $@ com/google/scrollview/*.class \
|
|
|
|
com/google/scrollview/events/*.class com/google/scrollview/ui/*.class
|
|
|
|
|
|
|
|
$(SCROLLVIEW_CLASSES) : $(SCROLLVIEW_FILES)
|
|
|
|
$(JAVAC) -encoding UTF8 -classpath $(CLASSPATH) $(SCROLLVIEW_FILES)
|
2012-09-22 01:36:27 +08:00
|
|
|
endif
|
2012-03-16 05:05:12 +08:00
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f ScrollView.jar *.class
|
|
|
|
|
|
|
|
# all-am does nothing, to make the java part optional.
|
|
|
|
all all-am install :
|