ports/java/openjdk6/files/Makefile.plugin
Jung-uk Kim 680336afad - Update to build 21.
- Improve Serviceability Agent.  For example, the following should work now:

	jdb -connect sun.jvm.hotspot.jdi.SAPIDAttachingConnector:pid=<PID>
	jmap <PID>
	jsadebugd <PID>
	jstack -F <PID>
	jstack -m <PID>

- Replace IcedTea6 1.9.x with IcedTea-Web 1.0 for web support.  Note it is
still tightly coupled with openjdk6 for now because we do not have proper
infrastructure to decouple them yet.
- Add itweb-settings (a Java Control Panel replacement for IcedTea-Web).
- Add desktop integration files for web support (but not installed in default
system-wide locations).
2011-02-09 20:00:38 +00:00

55 lines
1.4 KiB
Text

# $FreeBSD$
#
# Makefile for IcedTea Mozilla plugin
#
LIB=
SHLIB_NAME= IcedTeaPlugin.so
NO_MAN= yes
NO_PROFILE= yes
SRCS= IcedTeaJavaRequestProcessor.cc \
IcedTeaNPPlugin.cc \
IcedTeaPluginRequestProcessor.cc \
IcedTeaPluginUtils.cc \
IcedTeaScriptablePluginObject.cc
SRCS+= IcedTeaJavaRequestProcessor.h \
IcedTeaNPPlugin.h \
IcedTeaPluginRequestProcessor.h \
IcedTeaPluginUtils.h \
IcedTeaScriptablePluginObject.h
.if empty(DEBUG_FLAGS)
.undef DEBUG_FLAGS
STRIP= -s
.endif
.if !defined(LOCALBASE)
.error "LOCALBASE not defined"
.endif
.if !defined(JDK_UPDATE_VERSION)
.error "JDK_UPDATE_VERSION not defined"
.endif
.if !defined(PLUGIN_VERSION)
.error "PLUGIN_VERSION not defined"
.endif
PLUGIN_NAME=IcedTea-Web Plugin
PACKAGE_URL=http://icedtea.classpath.org/wiki/IcedTea-Web
MOZILLA_VERSION!=${LOCALBASE}/bin/pkg-config --modversion mozilla-plugin
MOZILLA_VERSION2!=/usr/bin/printf "%d%02d%02d%02d" ${MOZILLA_VERSION:C/\./ /g}
PLUGIN_PKG_INC= glib-2.0 gtk+-2.0 mozilla-plugin
PLUGIN_PKG_LIB= glib-2.0 gtk+-2.0
PLUGIN_CFLAGS!= ${LOCALBASE}/bin/pkg-config --cflags ${PLUGIN_PKG_INC}
PLUGIN_LIBS!= ${LOCALBASE}/bin/pkg-config --libs ${PLUGIN_PKG_LIB}
CFLAGS+= -DJDK_UPDATE_VERSION="\"${JDK_UPDATE_VERSION}\"" \
-DPLUGIN_NAME="\"${PLUGIN_NAME}\"" \
-DPLUGIN_VERSION="\"${PLUGIN_VERSION}\"" \
-DPACKAGE_URL="\"${PACKAGE_URL}\"" \
-DMOZILLA_VERSION_COLLAPSED="${MOZILLA_VERSION2}" \
${PLUGIN_CFLAGS}
LDFLAGS+= ${PLUGIN_LIBS}
.include <bsd.lib.mk>