mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
71623acdd6
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for libraries, such as NSPR, that are in the tree, but are not handled by moz.build just yet. Those EXTRA_LIBS may also come from a system library. However, in cases where the expanded variables are always empty for the in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is used exclusively for non-library linker flags. Always pass EXTRA_LIBS before OS_LIBS on linker command lines. Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
34 lines
754 B
Makefile
34 lines
754 B
Makefile
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# NOTE: This directory is part of tier 50, and is linked directly into
|
|
# the application binaries. The fact that it's under mozilla/widget is a fluke
|
|
# of tree history.
|
|
|
|
LIBCPPSRCS = XRemoteClient.cpp
|
|
|
|
OBJS = $(LIBCPPSRCS:.cpp=.$(OBJ_SUFFIX))
|
|
|
|
PROGCPPSRCS = \
|
|
mozilla-xremote-client.cpp \
|
|
XRemoteClient.cpp \
|
|
$(NULL)
|
|
|
|
PROGOBJS = $(PROGCPPSRCS:.cpp=.$(OBJ_SUFFIX))
|
|
|
|
CPPSRCS += \
|
|
$(filter-out $(LIBCPPSRCS),$(PROGCPPSRCS)) \
|
|
$(LIBCPPSRCS) \
|
|
$(NULL)
|
|
|
|
EXTRA_LIBS += \
|
|
$(NSPR_LIBS) \
|
|
$(NULL)
|
|
|
|
OS_LIBS += \
|
|
$(XLDFLAGS) \
|
|
$(XLIBS) \
|
|
$(NULL)
|