Makefile revision 2080
2N/A#
2N/A# Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.
2N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2N/A#
2N/A# This code is free software; you can redistribute it and/or modify it
2N/A# under the terms of the GNU General Public License version 2 only, as
2N/A# published by the Free Software Foundation. Sun designates this
2N/A# particular file as subject to the "Classpath" exception as provided
2N/A# by Sun in the LICENSE file that accompanied this code.
2N/A#
2N/A# This code is distributed in the hope that it will be useful, but WITHOUT
2N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2N/A# version 2 for more details (a copy is included in the LICENSE file that
2N/A# accompanied this code).
2N/A#
2N/A# You should have received a copy of the GNU General Public License version
2N/A# 2 along with this work; if not, write to the Free Software Foundation,
2N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2N/A#
2N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2N/A# CA 95054 USA or visit www.sun.com if you need additional information or
2N/A# have any questions.
2N/A#
2N/A
2N/ABUILDDIR = ../..
2N/A
2N/A# It's currently used by jpda and hprof. Put it in base module for now.
2N/AMODULE = base
2N/ALIBRARY = npt
2N/APRODUCT = sun
2N/ALIBRARY_OUTPUT = npt
2N/A
2N/A# Configure the CFLAGS for this library.
2N/A
2N/AFILES_m = mapfile-vers
2N/A
2N/Ainclude $(BUILDDIR)/common/Defs.gmk
2N/A
2N/ASRCDIR=$(SHARE_SRC)/npt
2N/APSRCDIR=$(PLATFORM_SRC)/npt
2N/A
2N/A# Use the mapfile-vers (See the mapfile located with this Makefile)
2N/Aifdef FILES_m
2N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
2N/Aendif
2N/A
2N/A#
2N/A# Files to compile.
2N/A#
2N/AFILES_c = \
2N/A npt.c \
2N/A utf.c \
2N/A utf_md.c
2N/A
2N/AOTHER_INCLUDES = -I$(SRCDIR) -I$(PSRCDIR)
2N/A
2N/A#
2N/A# Library to compile.
2N/A#
2N/Ainclude $(BUILDDIR)/common/Library.gmk
2N/A
2N/A# We don't want to link against -ljava
2N/AJAVALIB=
2N/A
2N/A# Add -export options to explicitly spell exported symbols
2N/Aifeq ($(PLATFORM), windows)
2N/A OTHER_LCF += -export:nptInitialize -export:nptTerminate
2N/Aendif
2N/A
2N/A#
2N/A# Add to ambient vpath so we pick up the library files
2N/A#
2N/Avpath %.c $(SRCDIR):$(PSRCDIR)
2N/A
2N/A