~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/widget/src/xremoteclient/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
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/
 
6
 
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.
 
11
 
12
# The Original Code is mozilla.org code.
 
13
 
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.
 
17
 
18
# Contributor(s):
 
19
 
20
 
 
21
DEPTH           = ../../..
 
22
topsrcdir       = @top_srcdir@
 
23
srcdir          = @srcdir@
 
24
VPATH           = @srcdir@
 
25
 
 
26
include $(DEPTH)/config/autoconf.mk
 
27
 
 
28
MODULE          = widget
 
29
LIBRARY_NAME    = xremote_client
 
30
EXPORT_LIBRARY = 1
 
31
IS_COMPONENT    = 1
 
32
MODULE_NAME     = XRemoteClientModule
 
33
 
 
34
PACKAGE_FILE = xremoteclient.pkg
 
35
 
 
36
REQUIRES        = xpcom \
 
37
                  string \
 
38
                  $(NULL)
 
39
 
 
40
CPPSRCS         = \
 
41
                XRemoteClientFactory.cpp \
 
42
                $(NULL)
 
43
 
 
44
ifdef MOZ_ENABLE_PHOTON
 
45
        CPPSRCS         += PhRemoteClient.cpp
 
46
else
 
47
        CPPSRCS         += XRemoteClient.cpp
 
48
endif
 
49
 
 
50
EXTRA_DSO_LDOPTS = \
 
51
                $(XLIBS) $(XLDFLAGS)  \
 
52
                $(MOZ_COMPONENT_LIBS) \
 
53
                $(NULL)
 
54
 
 
55
ifdef MOZ_ENABLE_PHOTON
 
56
        EXTRA_DSO_LDOPTS += -lph
 
57
endif
 
58
 
 
59
EXPORTS         = \
 
60
                nsXRemoteClientCID.h
 
61
 
 
62
ifndef MOZ_ENABLE_PHOTON
 
63
PROGRAM         = mozilla-xremote-client$(BIN_SUFFIX)
 
64
 
 
65
PROGOBJS        = mozilla-xremote-client.$(OBJ_SUFFIX) \
 
66
                XRemoteClient_standalone.$(OBJ_SUFFIX) \
 
67
                $(NULL)
 
68
endif
 
69
 
 
70
LIBS            = \
 
71
                $(NSPR_LIBS) \
 
72
                $(XLDFLAGS) $(XLIBS)
 
73
 
 
74
include $(topsrcdir)/config/rules.mk
 
75
 
 
76
ifeq ($(OS_ARCH), OpenVMS)
 
77
DEFINES         += -DGENERIC_MOTIF_REDEFINES
 
78
endif
 
79
 
 
80
ifndef MOZ_ENABLE_PHOTON
 
81
XRemoteClient_standalone.$(OBJ_SUFFIX): XRemoteClient.cpp
 
82
        $(CXX) $(OUTOPTION)$@ -c $(COMPILE_CXXFLAGS) -DXREMOTE_STANDALONE $<
 
83
endif