2
# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Christopher Blizzard.
15
# Portions created by Christopher Blizzard are Copyright (C)
16
# Christopher Blizzard. All Rights Reserved.
22
topsrcdir = @top_srcdir@
26
include $(DEPTH)/config/autoconf.mk
29
LIBRARY_NAME = xremote_client
32
MODULE_NAME = XRemoteClientModule
34
PACKAGE_FILE = xremoteclient.pkg
41
XRemoteClientFactory.cpp \
44
ifdef MOZ_ENABLE_PHOTON
45
CPPSRCS += PhRemoteClient.cpp
47
CPPSRCS += XRemoteClient.cpp
51
$(XLIBS) $(XLDFLAGS) \
52
$(MOZ_COMPONENT_LIBS) \
55
ifdef MOZ_ENABLE_PHOTON
56
EXTRA_DSO_LDOPTS += -lph
62
ifndef MOZ_ENABLE_PHOTON
63
PROGRAM = mozilla-xremote-client$(BIN_SUFFIX)
65
PROGOBJS = mozilla-xremote-client.$(OBJ_SUFFIX) \
66
XRemoteClient_standalone.$(OBJ_SUFFIX) \
74
include $(topsrcdir)/config/rules.mk
76
ifeq ($(OS_ARCH), OpenVMS)
77
DEFINES += -DGENERIC_MOTIF_REDEFINES
80
ifndef MOZ_ENABLE_PHOTON
81
XRemoteClient_standalone.$(OBJ_SUFFIX): XRemoteClient.cpp
82
$(CXX) $(OUTOPTION)$@ -c $(COMPILE_CXXFLAGS) -DXREMOTE_STANDALONE $<