source: trunk/icedtea-web/Config.kmk@ 360

Last change on this file since 360 was 357, checked in by dmik, 13 years ago

icedtea-web: Port plugin to OS/2.

  • Property svn:eol-style set to native
File size: 3.6 KB
RevLine 
[352]1## @file
2# Global Project Configuration File
3#
4
5#------------------------------------------------------------------------------
6# Global definitions
7#------------------------------------------------------------------------------
8
9PACKAGE_NAME := icedtea-web
10PACKAGE_VERSION := 1.1.2
11PACKAGE_STRING := $(PACKAGE_NAME) $(PACKAGE_VERSION)
12PACKAGE_URL := http://icedtea.classpath.org/wiki/IcedTea-Web
13
14FULL_VERSION := $(PACKAGE_VERSION)
15
16IT_LANGUAGE_SOURCE_VERSION := 6
17IT_CLASS_TARGET_VERSION := 6
[357]18IT_JAVAC_SETTINGS ?= -g -encoding utf-8 $(JAVACFLAGS) $(MEMORY_LIMIT) $(PREFER_SOURCE)
19IT_JAVACFLAGS ?= $(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION)
[352]20
[357]21BOOTSTRAP_JDK_RUNTIME ?= $(PATH_BOOTSTRAP_JDK)/jre/lib/rt.jar;$(PATH_BOOTSTRAP_JDK)/jre/lib/jsse.jar
[352]22
[357]23INSTALL_DATA := install -m 644
[352]24
[357]25# @todo later
26ICEDTEA_WEB_JRE_DIR := /@unixroot/usr/lib/jre
27ICEDTEA_WEB_DATA_DIR := /@unixroot/usr/share/$(PACKAGE_NAME)
[352]28
[357]29ICEDTEA_WEB_JRE = icedtea_web_jre_dir()
30
[352]31#
32# We need the jars in bootclasspath for a couple of reasons
33# - we use classes (in the sun.applet package) loaded by the bootclassloader
34# using another classloader to load classes from the same package causes an
35# IllegalAccessException
36# - we want full privileges
37#
[357]38LAUNCHER_BOOTCLASSPATH = \"-Xbootclasspath/a:%s/netx.jar$(RHINO_RUNTIME)\", \
39 icedtea_web_data_dir()
40PLUGIN_BOOTCLASSPATH = \"-Xbootclasspath/a:%s/netx.jar;%s/plugin.jar$(RHINO_RUNTIME)\", \
41 icedtea_web_data_dir()
[352]42
43# Fake update version to work with the Deployment Toolkit script used by Oracle
44# http://download.oracle.com/javase/tutorial/deployment/deploymentInDepth/depltoolkit_index.html
45JDK_UPDATE_VERSION := 50
46
47#------------------------------------------------------------------------------
48# Tools
49#------------------------------------------------------------------------------
50
51#------------------------------------------------------------------------------
52# Common libraries referenced by components
53#------------------------------------------------------------------------------
54
55#------------------------------------------------------------------------------
56# General Stuff
57#------------------------------------------------------------------------------
58
59TEMPLATE_Cxx = C++ sources
60TEMPLATE_Cxx_USES =
61TEMPLATE_Cxx_TOOL = GXX3OMF
62TEMPLATE_Cxx_INCS =
63TEMPLATE_Cxx_DEFS = OS2EMX_PLAIN_CHAR
64
65ifn1of ($(EMXOMFLD_TYPE),WLINK wlink)
66TEMPLATE_Cxx_LDFLAGS = -Zlinker '"DISABLE 1121"'
67endif
68
69# generate .sym files but don't put them in a separate dir
70TEMPLATE_Cxx_LD_DEBUG = split
71TEMPLATE_Cxx_DEBUG_STAGE = nul
72
73#------------------------------------------------------------------------------
74# Other Stuff
75#------------------------------------------------------------------------------
76
77#
78# Include a site-specific config for local overrides
79#
80ifndef LOCALCFG
81 LOCALCFG := $(wildcard $(PATH_ROOT)/LocalConfig.kmk)
82 ifneq ($(LOCALCFG),)
83 include $(LOCALCFG)
84 endif
85endif
86
87#------------------------------------------------------------------------------
88# Defaults
89#------------------------------------------------------------------------------
90
91PATH_MOZILLA_INCS ?= $(PATH_ROOT)/../libs/mozilla/include
92MOZILLA_VERSION_COLLAPSED ?= 11000000 # 11.0.0.0
93
[357]94PATH_GLIB_INCS ?= $(patsubst -I%,%,$(shell pkg-config --cflags-only-I glib-2.0 gthread-2.0))
95PATH_GLIB_LIBS ?= $(patsubst -l%,%,$(shell pkg-config --libs-only-l glib-2.0 gthread-2.0))
96PATH_GLIB_LIBPATH ?= $(patsubst -L%,%,$(shell pkg-config --libs-only-L glib-2.0 gthread-2.0))
Note: See TracBrowser for help on using the repository browser.