corba/make/sun/corba/core/Makefile
changeset 5482 955f6787b490
parent 5478 377c6d2783ab
parent 5481 f8f8ad409102
child 5483 00a38a6a27bb
equal deleted inserted replaced
5478:377c6d2783ab 5482:955f6787b490
     1 #
       
     2 # Copyright 1997-2005 Sun Microsystems, Inc.  All Rights Reserved.
       
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4 #
       
     5 # This code is free software; you can redistribute it and/or modify it
       
     6 # under the terms of the GNU General Public License version 2 only, as
       
     7 # published by the Free Software Foundation.  Sun designates this
       
     8 # particular file as subject to the "Classpath" exception as provided
       
     9 # by Sun in the LICENSE file that accompanied this code.
       
    10 #
       
    11 # This code is distributed in the hope that it will be useful, but WITHOUT
       
    12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14 # version 2 for more details (a copy is included in the LICENSE file that
       
    15 # accompanied this code).
       
    16 #
       
    17 # You should have received a copy of the GNU General Public License version
       
    18 # 2 along with this work; if not, write to the Free Software Foundation,
       
    19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20 #
       
    21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
       
    22 # CA 95054 USA or visit www.sun.com if you need additional information or
       
    23 # have any questions.
       
    24 #
       
    25 
       
    26 #
       
    27 # Makefile for building RMI/IIOP
       
    28 #
       
    29 
       
    30 BUILDDIR = ../../..
       
    31 PACKAGE = com.sun.corba.se.internal.io
       
    32 PRODUCT = sun
       
    33 LIBRARY = ioser12
       
    34 include $(BUILDDIR)/common/Defs.gmk
       
    35 
       
    36 #
       
    37 # Use mapfile
       
    38 #
       
    39 FILES_m = mapfile-vers
       
    40 include $(BUILDDIR)/common/Mapfile-vers.gmk
       
    41 
       
    42 #
       
    43 # Files to compile.
       
    44 #
       
    45 CORBA_JMK_DIRECTORY=$(TOPDIR)/make/com/sun/corba/minclude/
       
    46 include $(CORBA_JMK_DIRECTORY)javax_rmi.jmk
       
    47 include $(CORBA_JMK_DIRECTORY)javax_rmi_CORBA.jmk
       
    48 include $(CORBA_JMK_DIRECTORY)javax_transaction.jmk
       
    49 include $(CORBA_JMK_DIRECTORY)javax_activity.jmk
       
    50 include $(CORBA_JMK_DIRECTORY)ioser_io.jmk
       
    51 include $(CORBA_JMK_DIRECTORY)sun_corba.jmk
       
    52 
       
    53 ifdef STANDALONE_CORBA_WS
       
    54 # FIXUP: What is this all about?
       
    55 OTHER_LDFLAGS=-L$(BOOTDIR)/jre/lib/$(ARCH) -L$(BOOTDIR)/jre/lib/$(LIBARCH)/native_threads -ljvm
       
    56 OTHER_INCLUDES+=-ICClassHeaders -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(PLATFORM)
       
    57 else
       
    58 OTHER_LDLIBS=$(JVMLIB)
       
    59 OTHER_INCLUDES+=-ICClassHeaders -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(PLATFORM)
       
    60 endif
       
    61 
       
    62 
       
    63 FILES_c = ioser.c
       
    64 
       
    65 FILES_java = \
       
    66 	$(javax_rmi_java) \
       
    67 	$(javax_rmi_CORBA_java) \
       
    68 	$(javax_transaction_java) \
       
    69 	$(javax_activity_java) \
       
    70 	$(IOSER_IO_java) \
       
    71 	$(sun_corba_java)
       
    72 
       
    73 #
       
    74 # Generate header files for.
       
    75 #
       
    76 FILES_export = \
       
    77 	com/sun/corba/se/internal/io/IIOPInputStream.java \
       
    78 	com/sun/corba/se/internal/io/IIOPOutputStream.java \
       
    79 	com/sun/corba/se/internal/io/ObjectStreamClass.java \
       
    80 	com/sun/corba/se/internal/io/LibraryManager.java 
       
    81 #
       
    82 # Resources
       
    83 #
       
    84 LOCALE_SET_DEFINITION = jre
       
    85 RESOURCE_BUNDLES_PROPERTIES = \
       
    86       com/sun/corba/se/impl/orbutil/resources/sunorb.properties
       
    87 
       
    88 #
       
    89 # Rules
       
    90 #
       
    91 include $(BUILDDIR)/common/Library.gmk
       
    92 
       
    93 #
       
    94 # Extra clean rules because we build more than one package.
       
    95 #
       
    96 clean:: classheaders.clean objects.clean
       
    97 	$(RM) -r $(CLASSBINDIR)/javax/rmi
       
    98 	$(RM) -r $(CLASSBINDIR)/javax/transaction
       
    99 	$(RM) -r $(CLASSBINDIR)/javax/activity
       
   100 	$(RM) -r $(CLASSBINDIR)/com/sun/corba/se/impl
       
   101