make/sun/xawt/Makefile

Print this page




  39 #
  40 # Files
  41 #
  42 include FILES_c_unix.gmk
  43 include FILES_export_unix.gmk
  44 AUTO_FILES_JAVA_DIRS = sun/awt/X11
  45 AUTO_JAVA_PRUNE = WrapperGenerator.java
  46 
  47 LDFLAGS += -L$(OPENWIN_LIB)
  48 
  49 # For Xrender extension.
  50 ifeq ($(PLATFORM), solaris)
  51 LDFLAGS += -L/usr/openwin/sfw/lib$(ISA_DIR) -R/usr/openwin/sfw/lib$(ISA_DIR)
  52 endif
  53 
  54 ifeq ($(PLATFORM), linux)
  55 LDFLAGS += -lpthread
  56 dummy := $(shell $(MKDIR) -p $(LIB_LOCATION))
  57 endif
  58 
  59 ifeq ($(PLATFORM), macosx))
  60 LDFLAGS += -pthread
  61 dummy := $(shell $(MKDIR) -p $(LIB_LOCATION))
  62 endif
  63 
  64 # Since this library will be living in a subdirectory below the other libraries
  65 #   we need to add an extra runpath so that libraries in the upper directory
  66 #   are found at runtime.
  67 LD_RUNPATH_EXTRAS = ..
  68 
  69 #
  70 # Rules.
  71 #
  72 include $(BUILDDIR)/common/Mapfile-vers.gmk
  73 include $(BUILDDIR)/common/Library.gmk
  74 
  75 #
  76 # Add to the ambient vpath to pick up files in subdirectories
  77 #
  78 vpath %.c   $(SHARE_SRC)/native/sunawt/alphacomposite
  79 vpath %.c   $(PLATFORM_SRC)/native/sun/xawt




  39 #
  40 # Files
  41 #
  42 include FILES_c_unix.gmk
  43 include FILES_export_unix.gmk
  44 AUTO_FILES_JAVA_DIRS = sun/awt/X11
  45 AUTO_JAVA_PRUNE = WrapperGenerator.java
  46 
  47 LDFLAGS += -L$(OPENWIN_LIB)
  48 
  49 # For Xrender extension.
  50 ifeq ($(PLATFORM), solaris)
  51 LDFLAGS += -L/usr/openwin/sfw/lib$(ISA_DIR) -R/usr/openwin/sfw/lib$(ISA_DIR)
  52 endif
  53 
  54 ifeq ($(PLATFORM), linux)
  55 LDFLAGS += -lpthread
  56 dummy := $(shell $(MKDIR) -p $(LIB_LOCATION))
  57 endif
  58 
  59 ifeq ($(PLATFORM), macosx)
  60 LDFLAGS += -pthread
  61 dummy := $(shell $(MKDIR) -p $(LIB_LOCATION))
  62 endif
  63 
  64 # Since this library will be living in a subdirectory below the other libraries
  65 #   we need to add an extra runpath so that libraries in the upper directory
  66 #   are found at runtime.
  67 LD_RUNPATH_EXTRAS = ..
  68 
  69 #
  70 # Rules.
  71 #
  72 include $(BUILDDIR)/common/Mapfile-vers.gmk
  73 include $(BUILDDIR)/common/Library.gmk
  74 
  75 #
  76 # Add to the ambient vpath to pick up files in subdirectories
  77 #
  78 vpath %.c   $(SHARE_SRC)/native/sunawt/alphacomposite
  79 vpath %.c   $(PLATFORM_SRC)/native/sun/xawt