Makefile revision 3909
94N/A#
94N/A# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
94N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
94N/A#
94N/A# This code is free software; you can redistribute it and/or modify it
94N/A# under the terms of the GNU General Public License version 2 only, as
94N/A# published by the Free Software Foundation. Oracle designates this
94N/A# particular file as subject to the "Classpath" exception as provided
94N/A# by Oracle in the LICENSE file that accompanied this code.
94N/A#
94N/A# This code is distributed in the hope that it will be useful, but WITHOUT
94N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
94N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
94N/A# version 2 for more details (a copy is included in the LICENSE file that
94N/A# accompanied this code).
94N/A#
94N/A# You should have received a copy of the GNU General Public License version
94N/A# 2 along with this work; if not, write to the Free Software Foundation,
94N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
94N/A#
94N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
94N/A# or visit www.oracle.com if you need additional information or have any
844N/A# questions.
94N/A#
94N/A
94N/A#
94N/A# Makefile for com.sun.nio.sctp
94N/A#
94N/A
618N/ABUILDDIR = ../../../..
94N/APACKAGE = com.sun.nio.sctp
94N/ALIBRARY = sctp
844N/APRODUCT = sun
844N/A#OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint
94N/Ainclude $(BUILDDIR)/common/Defs.gmk
1273N/A
94N/A#
94N/A# Files to compile
94N/A#
94N/Ainclude FILES_c.gmk
94N/Ainclude FILES_java.gmk
94N/Ainclude Exportedfiles.gmk
94N/A
94N/Aifneq ($(PLATFORM), windows)
94N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
94N/Ainclude $(BUILDDIR)/common/Library.gmk
94N/A
94N/A#
94N/A# Find platform-specific C source files
94N/A#
99N/Avpath %.c $(PLATFORM_SRC)/native/sun/nio/ch
94N/A
94N/A#
94N/A# Include nio.h, net_util.h, sun_nio_ch_IOStatus.h, etc
94N/A#
94N/AOTHER_INCLUDES += \
94N/A -I$(SHARE_SRC)/native/sun/nio/ch \
94N/A -I$(SHARE_SRC)/native/java/net \
94N/A -I$(PLATFORM_SRC)/native/java/net \
94N/A -I$(CLASSHDRDIR)/../../../../java/java.nio/nio/CClassHeaders
181N/A
94N/Aifeq ($(PLATFORM), linux)
94N/ACOMPILER_WARNINGS_FATAL=true
94N/A#OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
181N/AOTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl
94N/Aendif
94N/Aifeq ($(PLATFORM), solaris)
#LIBSCTP = -lsctp
OTHER_LDLIBS += $(LIBSOCKET) -L$(LIBDIR)/$(LIBARCH) -lnet -lnio
endif # PLATFORM
else # windows
include $(BUILDDIR)/common/Classes.gmk
endif # ifneq windows
clean clobber::
$(RM) -r $(CLASSDESTDIR)/com/sun/nio/sctp
$(RM) -r $(CLASSDESTDIR)/sun/nio/ch