Files
libreoffice/canvas/source/java/makefile.mk
Jens-Heiner Rechtien dd5e429a6f INTEGRATION: CWS pj82 (1.9.46); FILE MERGED
2007/06/21 07:43:46 pjanik 1.9.46.1: #i78738#: Add WindowAdapter for Mac OS X Aqua (from aquavcl01), clean
 the OS cases switch, whitespace celanup.
2007-06-27 12:50:47 +00:00

102 lines
2.9 KiB
Makefile

#*************************************************************************
#
# OpenOffice.org - a multi-platform office productivity suite
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.10 $
#
# last change: $Author: hr $ $Date: 2007-06-27 13:50:47 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
#
#
# GNU Lesser General Public License Version 2.1
# =============================================
# Copyright 2005 by Sun Microsystems, Inc.
# 901 San Antonio Road, Palo Alto, CA 94303, USA
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1, as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
#*************************************************************************
# Builds the Java Canvas implementation.
PRJNAME = canvas
PRJ = ..$/..
TARGET = javacanvas
PACKAGE = canvas
USE_JAVAVER:=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
.IF "$(SOLAR_JAVA)"=="TRUE"
# Since Canvas needs newer features like
# e.g. java.awt.image.BufferStrategy,
# disabled for now for everything <1.4
.IF "$(JAVANUMVER:s/.//)" >= "000100040000"
JAVAFILES = \
SpriteBase.java \
JavaCanvas.java \
CanvasGraphicDevice.java \
CanvasUtils.java \
CanvasFont.java \
CanvasBitmap.java \
CanvasSprite.java \
CanvasCustomSprite.java \
CanvasClonedSprite.java \
TextLayout.java \
BackBuffer.java \
LinePolyPolygon.java \
BezierPolyPolygon.java \
SpriteRunner.java
.IF "$(GUIBASE)"=="unx"
JAVAFILES += x11/WindowAdapter.java
.ELIF "$(GUIBASE)"=="aqua"
JAVAFILES += aqua/WindowAdapter.java
.ELSE
JAVAFILES += win/WindowAdapter.java
.ENDIF # "$(GUIBASE)"=="unx"
JARFILES = jurt.jar unoil.jar ridl.jar juh.jar java_uno.jar
#JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
JARTARGET = $(TARGET).uno.jar
JARCOMPRESS = TRUE
#JARCLASSDIRS = $(PACKAGE)
CUSTOMMANIFESTFILE = manifest
.ENDIF # "$(JAVANUMVER:s/.//)" >= "000100040000"
.ENDIF # "$(SOLAR_JAVA)"=="TRUE"
# --- Targets ------------------------------------------------------
.INCLUDE: target.mk
#dist: $(JAVA_FILES:b:+".class")
# +jar -cvfm $(CLASSDIR)/JavaCanvas.jar $(JARMANIFEST) $(JAVACLASSFILES)