# # 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. DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = xremoteclient LIBRARY_NAME = xremote_client_s FORCE_STATIC_LIB = 1 DEFINES += -DXPCOM_GLUE LIBCPPSRCS = XRemoteClient.cpp OBJS = $(LIBCPPSRCS:.cpp=.$(OBJ_SUFFIX)) EXTRA_DSO_LDOPTS = \ $(XLIBS) $(XLDFLAGS) \ $(MOZ_COMPONENT_LIBS) \ $(NULL) PROGRAM = mozilla-xremote-client$(BIN_SUFFIX) PROGCPPSRCS = \ mozilla-xremote-client.cpp \ XRemoteClient.cpp \ $(NULL) PROGOBJS = $(PROGCPPSRCS:.cpp=.$(OBJ_SUFFIX)) CPPSRCS = $(filter-out $(LIBCPPSRCS),$(PROGCPPSRCS)) $(LIBCPPSRCS) LIBS = \ $(NSPR_LIBS) \ $(XLDFLAGS) $(XLIBS) include $(topsrcdir)/config/rules.mk