jdk/make/sun/Makefile
changeset 9002 6ee0abf0167f
parent 8197 e45f21c2a40b
child 9050 26c2c1de1631
child 9286 b960a50a7052
equal deleted inserted replaced
9001:4eb5b77d7425 9002:6ee0abf0167f
     1 #
     1 #
     2 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    67   RENDER_SUBDIR = dcpr
    67   RENDER_SUBDIR = dcpr
    68 endif
    68 endif
    69 
    69 
    70 # nio need to be compiled before awt to have all charsets ready
    70 # nio need to be compiled before awt to have all charsets ready
    71 SUBDIRS            = jar security javazic misc net nio text launcher
    71 SUBDIRS            = jar security javazic misc net nio text launcher
       
    72 
       
    73 ifdef BUILD_HEADLESS_ONLY
       
    74   DISPLAY_LIBS = awt $(HEADLESS_SUBDIR)
       
    75   DISPLAY_TOOLS = 
       
    76 else
       
    77   DISPLAY_LIBS = awt splashscreen $(XAWT_SUBDIR) $(HEADLESS_SUBDIR)
       
    78   DISPLAY_TOOLS = applet
       
    79 endif
    72 SUBDIRS_desktop    = audio $(RENDER_SUBDIR) image \
    80 SUBDIRS_desktop    = audio $(RENDER_SUBDIR) image \
    73                      awt splashscreen $(XAWT_SUBDIR) \
    81                      $(DISPLAY_LIBS) $(DGA_SUBDIR) \
    74                      $(HEADLESS_SUBDIR) $(DGA_SUBDIR) \
    82                      jawt font jpeg cmm $(DISPLAY_TOOLS) beans
    75                      jawt font jpeg cmm applet beans
       
    76 SUBDIRS_management = management
    83 SUBDIRS_management = management
    77 SUBDIRS_misc       = $(ORG_SUBDIR) rmi $(JDBC_SUBDIR) tracing
    84 SUBDIRS_misc       = $(ORG_SUBDIR) rmi $(JDBC_SUBDIR) tracing
    78 SUBDIRS_tools      = native2ascii serialver tools jconsole
    85 SUBDIRS_tools      = native2ascii serialver tools jconsole
    79 include $(BUILDDIR)/common/Subdirs.gmk
    86 include $(BUILDDIR)/common/Subdirs.gmk
    80 
    87