Makefile revision 425
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# This code is free software; you can redistribute it and/or modify it
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# under the terms of the GNU General Public License version 2 only, as
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# published by the Free Software Foundation. Sun designates this
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# particular file as subject to the "Classpath" exception as provided
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# by Sun in the LICENSE file that accompanied this code.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac#
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# This code is distributed in the hope that it will be useful, but WITHOUT
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# version 2 for more details (a copy is included in the LICENSE file that
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# accompanied this code).
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac#
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# You should have received a copy of the GNU General Public License version
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# 2 along with this work; if not, write to the Free Software Foundation,
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CA 95054 USA or visit www.sun.com if you need additional information or
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# have any questions.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
186f94aaee0ba7f253e09c491a3a513cbabea65fjcambon
6e041baef82b526dc9a1548dae116ab37da34dcbludoBUILDDIR = ../..
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipePACKAGE = java.net
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeLIBRARY = net
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipePRODUCT = sun
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeinclude $(BUILDDIR)/common/Defs.gmk
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Files
3cedecd5ea21cca5d9709abf320a2082cd3694e5jvergara#
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsoninclude FILES_c.gmk
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilson
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonAUTO_FILES_JAVA_DIRS = java/net
014019918f7e3844f558f6159b8d41517254edc2lutoff
014019918f7e3844f558f6159b8d41517254edc2lutoffifeq ($(PLATFORM), windows)
014019918f7e3844f558f6159b8d41517254edc2lutoff # Windows 9x module only needed on 32-bit build
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilson ifeq ($(ARCH_DATA_MODEL), 32)
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilson FILES_c += NetworkInterface_win9x.c
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe endif
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson FILES_c += NTLMAuthSequence.c
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara FILES_c += NetworkInterface_winXP.c
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergaraendif
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
d3ce44d37110c284dad15122841fd97ee41d9ac5ludoFILES_export = \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/Socket.java \
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo java/net/SocketOptions.java \
d3ce44d37110c284dad15122841fd97ee41d9ac5ludo java/net/SocketImpl.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/AbstractPlainSocketImpl.java \
d3ce44d37110c284dad15122841fd97ee41d9ac5ludo java/net/PlainSocketImpl.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/ServerSocket.java \
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp java/net/InetAddress.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/Inet4Address.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/Inet6Address.java \
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp java/net/InetAddressImpl.java \
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp java/net/Inet4AddressImpl.java \
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp java/net/Inet6AddressImpl.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/NetworkInterface.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/SocketInputStream.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/SocketOutputStream.java \
d3ce44d37110c284dad15122841fd97ee41d9ac5ludo java/net/DefaultDatagramSocketImplFactory.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/DatagramPacket.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/DatagramSocket.java \
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp java/net/DatagramSocketImpl.java \
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara java/net/AbstractPlainDatagramSocketImpl.java \
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara java/net/MulticastSocket.java \
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara java/net/UnknownHostException.java \
014019918f7e3844f558f6159b8d41517254edc2lutoff java/net/ProtocolException.java \
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara sun/net/spi/DefaultProxySelector.java
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
39e085accf228684b9573bc8ad707a364ed6242ejvergaraifeq ($(PLATFORM), windows)
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara FILES_export += java/net/TwoStacksPlainSocketImpl.java
39e085accf228684b9573bc8ad707a364ed6242ejvergara FILES_export += java/net/DualStackPlainSocketImpl.java
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson FILES_export += java/net/TwoStacksPlainDatagramSocketImpl.java
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe FILES_export += java/net/DualStackPlainDatagramSocketImpl.java
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeelse
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe FILES_export += java/net/PlainDatagramSocketImpl.java
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeendif
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Find platform specific native code
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilsonvpath %.c $(PLATFORM_SRC)/native/sun/net/dns $(PLATFORM_SRC)/native/sun/net/www/protocol/http $(PLATFORM_SRC)/native/sun/net/spi
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson#
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson# Include rules
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson#
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilsoninclude $(BUILDDIR)/common/Mapfile-vers.gmk
6e041baef82b526dc9a1548dae116ab37da34dcbludo
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilsoninclude $(BUILDDIR)/common/Library.gmk
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilsonifeq ($(PLATFORM), windows)
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson OTHER_LDLIBS = ws2_32.lib $(JVMLIB)
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson # Will not compile at warning level 3 if warnings are fatal
7070667c2dffad87009999bdeb16d5305e0afdbejvergara COMPILER_WARNINGS_FATAL=false
7070667c2dffad87009999bdeb16d5305e0afdbejvergaraelse
7070667c2dffad87009999bdeb16d5305e0afdbejvergara OTHER_LDLIBS = $(LIBSOCKET) -lnsl -ldl $(JVMLIB)
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeendif
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludoifeq ($(PLATFORM), linux)
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe OTHER_LDLIBS += -lpthread
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeendif
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeCLASSES.export += java.lang.Integer java.io.FileDescriptor java.net.InetAddressImplFactory java.net.Inet4AddressImpl java.net.Inet6AddressImpl
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson#
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo# Resources
186f94aaee0ba7f253e09c491a3a513cbabea65fjcambon#
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilsonLOCALE_SET_DEFINITION = jre
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo
186f94aaee0ba7f253e09c491a3a513cbabea65fjcambonproperties: $(LIBDIR) $(LIBDIR)/net.properties
61ae414d98d24ba4a72a905b07db9424353669f4neil_a_wilson
fbae67e0ce2395d66b4cec5b17c54ddf8dd3dcb2jvergara$(LIBDIR)/net.properties: $(SHARE_SRC)/lib/net.properties
fbae67e0ce2395d66b4cec5b17c54ddf8dd3dcb2jvergara @$(RM) $@
fbae67e0ce2395d66b4cec5b17c54ddf8dd3dcb2jvergara $(CP) $< $@
fbae67e0ce2395d66b4cec5b17c54ddf8dd3dcb2jvergara
6e041baef82b526dc9a1548dae116ab37da34dcbludobuild: properties
5c6cfc2988a5121fd22081643ef0790e38c99379neil_a_wilson
ca7fd1a989fecd15241ed293d67750c6049d06d2neil_a_wilson