Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://jmagick.svn.sf.net/svnroot/jmagick@28 00265e9a-a446-0410-a409-fb6d3c48c71e
- Loading branch information
nordfalk
committed
Mar 2, 2008
1 parent
3e357a9
commit 158656b
Showing
4 changed files
with
9,829 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# | ||
# Toplevel Makefile for JMagick. | ||
# | ||
# NOTE: Define DESTDIR if you are not installing JMagick | ||
# to its final directories. This is for the purpose | ||
# of packaging. | ||
# Contributed by Adam Heath <doogie@brainfood.com> | ||
# | ||
|
||
|
||
MAKE_PATH = . | ||
include $(MAKE_PATH)/Make.def | ||
|
||
DIRS = src | ||
JAR_FILE = $(LIB_DIR)/jmagick-$(MAJOR).$(MINOR).$(MICRO).jar | ||
CLEAN_LIST = $(JAR_FILE) | ||
|
||
all: dir default-target | ||
cd classes; jar cvf $(JAR_FILE) magick | ||
|
||
include $(MAKE_PATH)/Make.rules | ||
|
||
dir: | ||
@-mkdir -p $(PROJ_BASE_DIR)classes | ||
@-mkdir -p $(PROJ_BASE_DIR)obj | ||
@-mkdir -p $(PROJ_BASE_DIR)generated | ||
@-mkdir -p $(PROJ_BASE_DIR)lib | ||
|
||
distclean: clean | ||
@-rm Make.def config.cache config.log config.status | ||
@-rm -rf $(JAVADOC_DIR) | ||
@-rm -rf autom4te.cache | ||
|
||
javadoc: | ||
@-if [ -x "$(JAVADOC)" ]; then \ | ||
echo Generating Javadoc files ... ; \ | ||
$(INSTALL) -d $(DESTDIR)$(JAVADOC_DIR) ; \ | ||
$(JAVADOC) -author -version -d $(DEST)$(JAVADOC_DIR) \ | ||
-sourcepath $(JAVA_SRC_DIR) magick magick.util ; \ | ||
else \ | ||
echo Unable to generate javadoc; \ | ||
fi | ||
|
||
extra-install:: | ||
$(INSTALL) -d $(DESTDIR)$(libdir) | ||
$(INSTALL) $(JAR_FILE) $(DESTDIR)$(libdir) | ||
|
||
simpletest:: | ||
cd test/magicktest; make simpletest | ||
|
||
test:: | ||
cd test/magicktest; make test | ||
|
||
generateCorrect:: | ||
cd test/magicktest; make generateCorrect |
Oops, something went wrong.