jdk/make/sun/awt/mawt.gmk
author ohair
Wed, 06 Aug 2008 15:02:15 -0700 (2008-08-06)
changeset 916 867515b155b5
parent 2 90ce3da70b43
child 1175 026b52c440fe
permissions -rw-r--r--
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build Summary: Needed BOOT_JAR_JFLAGS. Fixed PREVIOUS_RELEASE_IMAGE. Reviewed-by: tbell
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
# Copyright 2000-2007 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
# have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# to create directory:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
INIT += $(LIB_LOCATION) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
ifndef HEADLESS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
ifeq ($(STATIC_MOTIF),false)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
INIT += $(LIB_LOCATION)/libXm.so
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
# Files
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
# mawt.gmk is just used in building X/Motif native code, so
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
# this list of java files is no longer included.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
#include FILES_java_unix.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
include $(BUILDDIR)/sun/awt/FILES_c_unix.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
include $(BUILDDIR)/sun/awt/FILES_export_unix.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
# Check which C files should be built.  Headless uses only
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
# non-motif files.  Also, a version-specific motif file is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
# compiled based on the motif version.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
ifdef HEADLESS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
  FILES_c = $(FILES_NO_MOTIF_c)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
else
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
  FILES_c = $(FILES_MOTIF_c) $(FILES_NO_MOTIF_c)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
  ifeq ($(MOTIF_VERSION), 2)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    FILES_c += awt_motif21.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
    FILES_c += awt_Choice21.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
  ifneq ($(ARCH), amd64)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    FILES_reorder += reorder-$(ARCH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
# Rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
# Class files should be built & clobbered in make/sun/awt
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
# If removing this line, also reinclude sun_awt.jmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
DONT_CLOBBER_CLASSES = true
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
ifndef HEADLESS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
ifeq ($(VARIANT), OPT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
FILES_m = ../awt/mapfile-mawt-vers
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
# Since this library will be living in a subdirectory below the other libraries
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
#   we need to add an extra runpath so that libraries in the upper directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
#   are found at runtime.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
LD_RUNPATH_EXTRAS = ..
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
include $(BUILDDIR)/common/Mapfile-vers.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
include $(BUILDDIR)/common/Library.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
$(LIB_LOCATION):
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
	$(MKDIR) -p $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
ifeq ($(STATIC_MOTIF),false)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
$(LIB_LOCATION)/libXm.so:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
	$(CP) $(MOTIF_LIB)/libXm.so $(LIB_LOCATION)/libXm.so
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
# Automounter problem makes the link fail on Redhat 6.1.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
#	$(LN) -s $(MOTIF_LIB)/libXm.so $(LIB_LOCATION)/libXm.so
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
clean:: 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
# Add to the ambient vpath to pick up files in subdirectories
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/alphacomposite
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/image
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/image/gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/image/cvutils
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/shell
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/medialib
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/../java2d/opengl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
vpath %.c   $(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/opengl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
vpath %.c   $(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/x11
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/debug
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/../font
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/../java2d
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/../java2d/loops
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
vpath %.c   $(SHARE_SRC)/native/$(PKGDIR)/../java2d/pipe
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
vpath %.cpp $(SHARE_SRC)/native/$(PKGDIR)/image
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
vpath %.c   $(PLATFORM_SRC)/native/$(PKGDIR)/robot_child
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
# Libraries to link in.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
#CFLAGS += -g
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
ifeq ($(HEADLESS),true)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
CFLAGS += -DHEADLESS=$(HEADLESS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
CPPFLAGS += -DHEADLESS=$(HEADLESS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
OTHER_LDLIBS =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
CFLAGS += -DMOTIF_VERSION=$(MOTIF_VERSION)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
ifeq ($(STATIC_MOTIF),true)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
    LIBXM = $(MOTIF_LIB)/libXm.a -lXp -lXmu
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
    ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
	ifeq ($(ARCH_DATA_MODEL), 64)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
            LIBXT = -lXt
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
        else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
        # Allows for builds on Debian GNU Linux, X11 is in a different place 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
	    LIBXT = $(firstword $(wildcard /usr/X11R6/lib/libXt.a) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
                            $(wildcard /usr/lib/libXt.a))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
	    LIBSM = $(firstword $(wildcard /usr/X11R6/lib/libSM.a) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
                            $(wildcard /usr/lib/libSM.a))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
	    LIBICE = $(firstword $(wildcard /usr/X11R6/lib/libICE.a) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
                             $(wildcard /usr/lib/libICE.a))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
	endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
    endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    LIBXM = -L$(MOTIF_LIB) -lXm -lXp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
    ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
	LIBXT = -lXt
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
	LIBSM = 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
	LIBICE = 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
    endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
LIBXTST = -lXtst
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
# Use -lXmu for EditRes support
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
LIBXMU_DBG	= -lXmu
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
LIBXMU_OPT	=
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
LIBXMU		= $(LIBXMU_$(VARIANT))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
OTHER_LDLIBS = $(LIBXM) -lXt -lXext $(LIBXTST) $(LIBXMU) -lX11 -lXi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
OTHER_CFLAGS += -DMOTIF_VERSION=2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
OTHER_CFLAGS += -DXMSTRINGDEFINES=1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
OTHER_LDLIBS = $(LIBXM) $(LIBXMU) $(LIBXTST) -lXext $(LIBXT) $(LIBSM) $(LIBICE) -lX11 -lXi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
# !HEADLESS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
OTHER_LDLIBS += $(JVMLIB) $(LIBCXX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
                -lawt $(LIBM) -ldl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
# Sun CC with -Xa misdefines __STDC__ to 0 (zero).
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
# The following will force checking of X11 prototypes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
# 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
ifneq ($(CC_VERSION),gcc)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
CPPFLAGS += -DFUNCPROTO=15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
# Other extra flags needed for compiling.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
CPPFLAGS += -I$(CUPS_HEADERS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
ifndef HEADLESS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
CPPFLAGS += -I$(MOTIF_DIR)/include \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
            -I$(OPENWIN_HOME)/include 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
LDFLAGS  += -L$(MOTIF_LIB) -L$(OPENWIN_LIB)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
endif # !HEADLESS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
            -I$(SHARE_SRC)/native/$(PKGDIR)/../font \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
            -I$(PLATFORM_SRC)/native/$(PKGDIR)/../font \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
            -I$(SHARE_SRC)/native/$(PKGDIR)/image \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
	    -I$(SHARE_SRC)/native/$(PKGDIR)/image/cvutils \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
	    -I$(SHARE_SRC)/native/$(PKGDIR)/shell \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
	    -I$(SHARE_SRC)/native/$(PKGDIR)/alphacomposite \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
            -I$(SHARE_SRC)/native/$(PKGDIR)/medialib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
            -I$(PLATFORM_SRC)/native/$(PKGDIR)/medialib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
	    -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
	    -I$(PLATFORM_SRC)/native/$(PKGDIR)/../java2d \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
	    -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d/loops \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
	    -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d/pipe \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
            -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d/opengl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
            -I$(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/opengl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
            -I$(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/x11 \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        -I$(SHARE_SRC)/native/$(PKGDIR)/../dc/doe \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
        -I$(SHARE_SRC)/native/$(PKGDIR)/../dc/path \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
            -I$(PLATFORM_SRC)/native/$(PKGDIR)/../jdga \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        -I$(PLATFORM_SRC)/native/$(PKGDIR) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
        $(EVENT_MODEL)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
# Checking for the X11/extensions headers at the additional location
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
  CPPFLAGS += -I/X11R6/include/X11/extensions \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
              -I/usr/include/X11/extensions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
  CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/$(TSOBJDIR) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
	   $(AWT_RUNPATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
CLASSES.export += java.io.InputStream \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
		  java.lang.ThreadGroup
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246