8011812: JDK-8011278 breaks the old build
Reviewed-by: tbell, wetmore
This commit is contained in:
parent
dbfbe6ca61
commit
d0e1727ce6
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -83,21 +83,17 @@ ifeq ($(PLATFORM), macosx)
|
|||||||
-framework JavaNativeFoundation
|
-framework JavaNativeFoundation
|
||||||
else ifneq ($(PLATFORM), windows)
|
else ifneq ($(PLATFORM), windows)
|
||||||
CFLAGS += -DWITH_X11
|
CFLAGS += -DWITH_X11
|
||||||
ifeq ($(PLATFORM), macosx))
|
CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions
|
||||||
OTHER_LDLIBS += -liconv
|
OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread
|
||||||
CPPFLAGS += -I$(OPENWIN_HOME)/include \
|
|
||||||
-I$(OPENWIN_HOME)/include/X11/extensions
|
|
||||||
OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -pthread
|
|
||||||
else
|
|
||||||
CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions
|
|
||||||
OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread
|
|
||||||
endif
|
|
||||||
else # PLATFORM
|
else # PLATFORM
|
||||||
CFLAGS += -DWITH_WIN32
|
CFLAGS += -DWITH_WIN32
|
||||||
OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib /DELAYLOAD:user32.dll
|
OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib /DELAYLOAD:user32.dll
|
||||||
#$(JVMLIB) $(OBJDIR)/../../jpeg/$(OBJDIRNAME)/jpeg$(SUFFIX).lib
|
#$(JVMLIB) $(OBJDIR)/../../jpeg/$(OBJDIRNAME)/jpeg$(SUFFIX).lib
|
||||||
endif # PLATFORM
|
endif # PLATFORM
|
||||||
|
|
||||||
|
# Add giflib include path for all platforms
|
||||||
|
CPPFLAGS += -I$(SHARE_SRC)/native/sun/awt/giflib
|
||||||
|
|
||||||
#
|
#
|
||||||
# Add to ambient vpath to get files in a subdirectory
|
# Add to ambient vpath to get files in a subdirectory
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user