~ubuntu-branches/ubuntu/gutsy/virtualbox-ose/gutsy

« back to all changes in this revision

Viewing changes to src/libs/xpcom18a4/ipc/ipcd/client/src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-09-08 16:44:58 UTC
  • Revision ID: james.westby@ubuntu.com-20070908164458-wao29470vqtr8ksy
Tags: upstream-1.5.0-dfsg2
ImportĀ upstreamĀ versionĀ 1.5.0-dfsg2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim: noexpandtab ts=4 sw=4
 
2
# ***** BEGIN LICENSE BLOCK *****
 
3
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
4
#
 
5
# The contents of this file are subject to the Mozilla Public License Version
 
6
# 1.1 (the "License"); you may not use this file except in compliance with
 
7
# the License. You may obtain a copy of the License at
 
8
# http://www.mozilla.org/MPL/
 
9
#
 
10
# Software distributed under the License is distributed on an "AS IS" basis,
 
11
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
# for the specific language governing rights and limitations under the
 
13
# License.
 
14
#
 
15
# The Original Code is Mozilla IPC.
 
16
#
 
17
# The Initial Developer of the Original Code is
 
18
# Netscape Communications Corporation.
 
19
# Portions created by the Initial Developer are Copyright (C) 2002
 
20
# the Initial Developer. All Rights Reserved.
 
21
#
 
22
# Contributor(s):
 
23
#   Darin Fisher <darin@netscape.com>
 
24
#
 
25
# Alternatively, the contents of this file may be used under the terms of
 
26
# either the GNU General Public License Version 2 or later (the "GPL"), or
 
27
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
28
# in which case the provisions of the GPL or the LGPL are applicable instead
 
29
# of those above. If you wish to allow use of your version of this file only
 
30
# under the terms of either the GPL or the LGPL, and not to allow others to
 
31
# use your version of this file under the terms of the MPL, indicate your
 
32
# decision by deleting the provisions above and replace them with the notice
 
33
# and other provisions required by the GPL or the LGPL. If you do not delete
 
34
# the provisions above, a recipient may use your version of this file under
 
35
# the terms of any one of the MPL, the GPL or the LGPL.
 
36
#
 
37
# ***** END LICENSE BLOCK *****
 
38
 
 
39
DEPTH           = ../../../..
 
40
topsrcdir       = @top_srcdir@
 
41
srcdir          = @srcdir@
 
42
VPATH           = @srcdir@
 
43
 
 
44
include $(DEPTH)/config/autoconf.mk
 
45
 
 
46
MODULE                  = ipcd
 
47
LIBRARY_NAME    = ipcdc
 
48
EXPORT_LIBRARY  = 1
 
49
IS_COMPONENT    = 1
 
50
MODULE_NAME             = ipcdclient
 
51
 
 
52
REQUIRES        = \
 
53
            xpcom \
 
54
            string \
 
55
            $(NULL)
 
56
 
 
57
CPPSRCS         = \
 
58
            ipcdclient.cpp \
 
59
            ipcService.cpp \
 
60
            ipcModuleFactory.cpp \
 
61
            $(NULL)
 
62
 
 
63
ifeq ($(OS_ARCH),WINNT)
 
64
CPPSRCS +=  ipcConnectionWin.cpp
 
65
else
 
66
ifeq ($(OS_ARCH),BeOS)
 
67
CPPSRCS +=  ipcConnectionStub.cpp
 
68
else
 
69
CPPSRCS +=  ipcConnectionUnix.cpp
 
70
endif
 
71
endif
 
72
 
 
73
LOCAL_INCLUDES = \
 
74
            -I$(srcdir)/../../shared/src \
 
75
            -I$(srcdir)/../../extensions/lock/src \
 
76
            -I$(srcdir)/../../extensions/transmngr/src \
 
77
            -I$(srcdir)/../../extensions/transmngr/common \
 
78
            $(NULL)
 
79
 
 
80
SHARED_LIBRARY_LIBS = \
 
81
                        $(DIST)/lib/$(LIB_PREFIX)ipcdshared_s.$(LIB_SUFFIX) \
 
82
                        $(DIST)/lib/$(LIB_PREFIX)ipcdlock_s.$(LIB_SUFFIX) \
 
83
                        $(DIST)/lib/$(LIB_PREFIX)transmgr_s.$(LIB_SUFFIX) \
 
84
                        $(DIST)/lib/$(LIB_PREFIX)transmgrcom_s.$(LIB_SUFFIX) \
 
85
                        $(NULL)
 
86
 
 
87
ifneq ($(BUILD_DCONNECT),)
 
88
DEFINES                         += -DBUILD_DCONNECT
 
89
LOCAL_INCLUDES          += -I$(srcdir)/../../extensions/dconnect/src
 
90
SHARED_LIBRARY_LIBS     += $(DIST)/lib/$(LIB_PREFIX)ipcddconnect_s.$(LIB_SUFFIX) \
 
91
                                           $(DIST)/lib/$(LIB_PREFIX)ipcdutil_s.$(LIB_SUFFIX) \
 
92
                                           $(NULL)
 
93
endif
 
94
 
 
95
EXTRA_DSO_LDOPTS = \
 
96
                        $(LIBS_DIR) \
 
97
                        $(EXTRA_DSO_LIBS) \
 
98
                        $(MOZ_COMPONENT_LIBS) \
 
99
                        $(NULL)
 
100
 
 
101
include $(topsrcdir)/config/rules.mk