Makefile revision 672
70N/A#
70N/A# Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
286N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
70N/A#
70N/A# This code is free software; you can redistribute it and/or modify it
70N/A# under the terms of the GNU General Public License version 2 only, as
70N/A# published by the Free Software Foundation. Sun designates this
70N/A# particular file as subject to the "Classpath" exception as provided
70N/A# by Sun in the LICENSE file that accompanied this code.
70N/A#
70N/A# This code is distributed in the hope that it will be useful, but WITHOUT
70N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
70N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
70N/A# version 2 for more details (a copy is included in the LICENSE file that
70N/A# accompanied this code).
70N/A#
70N/A# You should have received a copy of the GNU General Public License version
70N/A# 2 along with this work; if not, write to the Free Software Foundation,
70N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
70N/A#
70N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
70N/A# CA 95054 USA or visit www.sun.com if you need additional information or
70N/A# have any questions.
70N/A#
70N/A
70N/ABUILDDIR = ../..
70N/APACKAGE = java.net
70N/ALIBRARY = net
70N/APRODUCT = sun
70N/Ainclude $(BUILDDIR)/common/Defs.gmk
551N/A
70N/A#
70N/A# Files
70N/A#
359N/Ainclude FILES_c.gmk
359N/A
359N/AAUTO_FILES_JAVA_DIRS = java/net
98N/A
551N/Aifeq ($(PLATFORM), windows)
321N/A # Windows 9x module only needed on 32-bit build
493N/A ifeq ($(ARCH_DATA_MODEL), 32)
321N/A FILES_c += NetworkInterface_win9x.c
550N/A endif
550N/A FILES_c += NTLMAuthSequence.c
213N/A FILES_c += NetworkInterface_winXP.c
304N/Aendif
530N/A
425N/AFILES_export = \
425N/A java/net/Socket.java \
325N/A java/net/SocketOptions.java \
493N/A java/net/SocketImpl.java \
536N/A java/net/AbstractPlainSocketImpl.java \
456N/A java/net/PlainSocketImpl.java \
320N/A java/net/ServerSocket.java \
332N/A java/net/InetAddress.java \
501N/A java/net/Inet4Address.java \
231N/A java/net/Inet6Address.java \
550N/A java/net/InetAddressImpl.java \
523N/A java/net/Inet4AddressImpl.java \
98N/A java/net/Inet6AddressImpl.java \
347N/A java/net/NetworkInterface.java \
532N/A java/net/SocketInputStream.java \
525N/A java/net/SocketOutputStream.java \
463N/A java/net/DefaultDatagramSocketImplFactory.java \
493N/A java/net/DatagramPacket.java \
425N/A java/net/DatagramSocket.java \
493N/A java/net/DatagramSocketImpl.java \
472N/A java/net/AbstractPlainDatagramSocketImpl.java \
324N/A java/net/MulticastSocket.java \
347N/A java/net/UnknownHostException.java \
310N/A java/net/ProtocolException.java \
316N/A sun/net/spi/DefaultProxySelector.java
474N/A
290N/Aifeq ($(PLATFORM), windows)
332N/A FILES_export += java/net/TwoStacksPlainSocketImpl.java
464N/A FILES_export += java/net/DualStackPlainSocketImpl.java
332N/A FILES_export += java/net/TwoStacksPlainDatagramSocketImpl.java
509N/A FILES_export += java/net/DualStackPlainDatagramSocketImpl.java
332N/Aelse
210N/A FILES_export += java/net/PlainDatagramSocketImpl.java
493N/Aendif
128N/A
414N/A#
484N/A# Find platform specific native code
326N/A#
493N/Avpath %.c $(PLATFORM_SRC)/native/sun/net/dns $(PLATFORM_SRC)/native/sun/net/www/protocol/http $(PLATFORM_SRC)/native/sun/net/spi
335N/A
493N/A#
493N/A# Include rules
425N/A#
370N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
70N/A
400N/Ainclude $(BUILDDIR)/common/Library.gmk
294N/A
435N/Aifeq ($(PLATFORM), windows)
98N/A OTHER_LDLIBS = ws2_32.lib $(JVMLIB)
434N/Aelse
505N/A OTHER_LDLIBS = $(LIBSOCKET) -lnsl -ldl $(JVMLIB)
277N/Aendif
433N/Aifeq ($(PLATFORM), linux)
546N/A OTHER_LDLIBS += -lpthread
356N/Aendif
289N/A
326N/ACLASSES.export += java.lang.Integer java.io.FileDescriptor java.net.InetAddressImplFactory java.net.Inet4AddressImpl java.net.Inet6AddressImpl
439N/A
501N/A#
469N/A# Resources
290N/A#
542N/ALOCALE_SET_DEFINITION = jre
424N/A
286N/Aproperties: $(LIBDIR) $(LIBDIR)/net.properties
543N/A
90N/A$(LIBDIR)/net.properties: $(SHARE_SRC)/lib/net.properties
475N/A @$(RM) $@
535N/A $(CP) $< $@
295N/A
70N/Abuild: properties
299N/A
262N/A