Adding support for detecting various platform specific libraries, paths and

other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)
This commit is contained in:
ramiro%netscape.com 1998-07-18 03:34:56 +00:00
parent bb60abcd71
commit 82b71f1739

View File

@ -72,22 +72,27 @@ ifeq ($(OS_ARCH),Linux)
-include $(DEPTH)/config/motif.mk
XFE_X_CC_FLAGS = -I/usr/X11R6/include
XFE_X_CC_FLAGS = $(MOZILLA_XFE_X11_INCLUDE_FLAGS)
XFE_XM_CC_FLAGS =
XFE_XM_CC_FLAGS = $(MOZILLA_XFE_MOTIF_INCLUDE_FLAGS)
XFE_X_LD_PATH = -L/usr/X11R6/lib
XFE_X_LD_PATH = $(MOZILLA_XFE_X11_DYNAMIC_PATHS)
XFE_XM_LD_PATH =
XFE_XM_LD_PATH = $(MOZILLA_XFE_MOTIF_DYNAMIC_PATHS)
XFE_XM_LIBS =\
$(MOZILLA_XM_2_1_BROKEN_LOCALE_FLAGS) \
-lXm \
$(MOZILLA_XM_2_1_PRINT_SHELL_FLAGS)
$(MOZILLA_XFE_GLIBC_BROKEN_LOCALE_FLAGS) \
$(MOZILLA_XFE_MOTIF_DYNAMIC_FLAGS) \
$(MOZILLA_XFE_MOTIF_PRINT_SHELL_FLAGS)
XFE_XT_LIBS = -lXt
XFE_X_LIBS = -lXmu -lXext -lX11 -lSM -lICE
XFE_X_LIBS =\
$(MOZILLA_XFE_MOTIF_XPM_FLAGS) \
-lXmu \
-lXext \
-lX11 \
$(MOZILLA_XFE_X11_SM_FLAGS)
XFE_USE_NATIVE_XPM = True