make/sun/font/Makefile

Print this page




 158 CFLAGS       += -DHEADLESS
 159 CXXFLAGS     += -DHEADLESS
 160 
 161 ifndef OPENJDK
 162   CPPFLAGS += -I$(CLOSED_SRC)/share/native/$(PKGDIR)/t2k
 163 else
 164   CPPFLAGS += -I$(FREETYPE_HEADERS_PATH) -I$(FREETYPE_HEADERS_PATH)/freetype2
 165 endif
 166 
 167 ifeq ($(PLATFORM), windows)
 168 vpath %.cpp   $(PLATFORM_SRC)/native/sun/windows
 169 else # PLATFORM
 170 
 171 #
 172 # Libraries to link, and other C flags.
 173 #
 174 
 175 ifeq ($(PLATFORM), solaris)
 176   # Note that on Solaris, fontmanager is built against the headless library.
 177   LDFLAGS      += -L$(LIBDIR)/$(LIBARCH)/headless
 178   OTHER_LDLIBS += -lawt -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt -lc $(LIBM) $(LIBCXX)
 179 else # PLATFORM is linux
 180  OTHER_LDLIBS  += -lawt $(LIBM) $(LIBCXX)
 181   ifeq ("$(CC_VER_MAJOR)", "3")
 182     OTHER_LDLIBS  += -Wl,-Bstatic -lgcc_eh -Wl,-Bdynamic
 183   endif                           
 184 endif
 185 
 186 endif # PLATFORM
 187 
 188 # set up compile flags..
 189 
 190 CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR) \
 191             -I$(SHARE_SRC)/native/$(PKGDIR)/layout \
 192             -I$(SHARE_SRC)/native/sun/awt/image/cvutils \
 193             -I$(PLATFORM_SRC)/native/sun/awt \
 194             -I$(SHARE_SRC)/native/sun/awt/debug \
 195             -I$(SHARE_SRC)/native/sun/java2d/loops \
 196             -I$(SHARE_SRC)/native/sun/java2d/pipe \
 197             -I$(PLATFORM_SRC)/native/sun/java2d \
 198             -I$(SHARE_SRC)/native/sun/java2d \


 158 CFLAGS       += -DHEADLESS
 159 CXXFLAGS     += -DHEADLESS
 160 
 161 ifndef OPENJDK
 162   CPPFLAGS += -I$(CLOSED_SRC)/share/native/$(PKGDIR)/t2k
 163 else
 164   CPPFLAGS += -I$(FREETYPE_HEADERS_PATH) -I$(FREETYPE_HEADERS_PATH)/freetype2
 165 endif
 166 
 167 ifeq ($(PLATFORM), windows)
 168 vpath %.cpp   $(PLATFORM_SRC)/native/sun/windows
 169 else # PLATFORM
 170 
 171 #
 172 # Libraries to link, and other C flags.
 173 #
 174 
 175 ifeq ($(PLATFORM), solaris)
 176   # Note that on Solaris, fontmanager is built against the headless library.
 177   LDFLAGS      += -L$(LIBDIR)/$(LIBARCH)/headless
 178   OTHER_LDLIBS += -lawt -lawt_xawt -lc $(LIBM) $(LIBCXX)
 179 else # PLATFORM is linux
 180  OTHER_LDLIBS  += -lawt $(LIBM) $(LIBCXX)
 181   ifeq ("$(CC_VER_MAJOR)", "3")
 182     OTHER_LDLIBS  += -Wl,-Bstatic -lgcc_eh -Wl,-Bdynamic
 183   endif                           
 184 endif
 185 
 186 endif # PLATFORM
 187 
 188 # set up compile flags..
 189 
 190 CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR) \
 191             -I$(SHARE_SRC)/native/$(PKGDIR)/layout \
 192             -I$(SHARE_SRC)/native/sun/awt/image/cvutils \
 193             -I$(PLATFORM_SRC)/native/sun/awt \
 194             -I$(SHARE_SRC)/native/sun/awt/debug \
 195             -I$(SHARE_SRC)/native/sun/java2d/loops \
 196             -I$(SHARE_SRC)/native/sun/java2d/pipe \
 197             -I$(PLATFORM_SRC)/native/sun/java2d \
 198             -I$(SHARE_SRC)/native/sun/java2d \