Makefile revision 3876
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This code is free software; you can redistribute it and/or modify it
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov# under the terms of the GNU General Public License version 2 only, as
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# published by the Free Software Foundation. Oracle designates this
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# particular file as subject to the "Classpath" exception as provided
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# by Oracle in the LICENSE file that accompanied this code.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This code is distributed in the hope that it will be useful, but WITHOUT
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# version 2 for more details (a copy is included in the LICENSE file that
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov# accompanied this code).
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You should have received a copy of the GNU General Public License version
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 2 along with this work; if not, write to the Free Software Foundation,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# or visit www.oracle.com if you need additional information or have any
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweelse # PLATFORM
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Use mapfile
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Extra C flags.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweOTHER_CXXFLAGS += $(GX_OPTION) -DUNICODE -D_UNICODE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Other extra flags needed for compiling.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(SHARE_SRC)/native/$(PKGDIR)/image/cvutils \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Libraries to link in.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweOTHER_LDLIBS = $(OBJDIR)/../../awt/$(OBJDIRNAME)/awt.lib
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweelse # PLATFORM
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Other extra flags needed for compiling.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(SHARE_SRC)/native/$(PKGDIR)/image/cvutils \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(SHARE_SRC)/native/$(PKGDIR)/alphacomposite \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d/loops \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d/pipe \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(SHARE_SRC)/native/$(PKGDIR)/../java2d/opengl \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/opengl \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I$(PLATFORM_SRC)/native/$(PKGDIR)/../java2d/x11 \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Libraries to link in.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -L$(OPENWIN_LIB) -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt -L/usr/openwin/sfw/lib$(ISA_DIR) -lXrender
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -L$(OPENWIN_LIB) -L$(LIBDIR)/$(LIBARCH)/headless -lmawt -L/usr/openwin/sfw/lib$(ISA_DIR) -lXrender
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -lawt -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -lawt -L$(LIBDIR)/$(LIBARCH)/headless -lmawt
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Lets not remove any class files.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Install header files.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(INCLUDEDIR)/%.h: $(SHARE_SRC)/javavm/export/%.h
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(PLATFORM_INCLUDE)/%.h: $(PLATFORM_SRC)/javavm/export/%.h
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Extra clean rule.