Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 4 changed files with 9,829 additions and 0 deletions.
55 changes: 55 additions & 0 deletions Makefile
@@ -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

0 comments on commit 158656b

Please sign in to comment.