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

« back to all changes in this revision

Viewing changes to src/libs/xpcom18a4/ipc/ipcd/extensions/lock/src/module/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    = lockmodule
 
48
ifeq ($(OS_ARCH), OS2)
 
49
SHORT_LIBNAME = lockmod
 
50
endif
 
51
MODULE_NAME             = ipcd
 
52
 
 
53
FORCE_SHARED_LIB        = 1
 
54
NO_DIST_INSTALL = 1
 
55
NO_INSTALL = 1
 
56
 
 
57
ifeq ($(OS_ARCH),Darwin)
 
58
NO_COMPONENT_LINK_MAP = 1
 
59
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS =
 
60
endif
 
61
 
 
62
# required for #include "nsID.h"
 
63
REQUIRES        = \
 
64
                        xpcom \
 
65
                        $(NULL)
 
66
 
 
67
CPPSRCS         = ipcLockModule.cpp
 
68
 
 
69
LOCAL_INCLUDES  = \
 
70
                        -I$(srcdir)/.. \
 
71
                        $(NULL)
 
72
 
 
73
EXTRA_OBJS      = ../ipcLockProtocol.$(OBJ_SUFFIX)
 
74
 
 
75
EXTRA_DSO_LDOPTS = \
 
76
                        $(LIBS_DIR) \
 
77
                        $(NSPR_LIBS) \
 
78
                        $(EXTRA_DSO_LIBS) \
 
79
                        $(EXTRA_OBJS) \
 
80
                        $(NULL)
 
81
 
 
82
include $(topsrcdir)/config/rules.mk
 
83
 
 
84
_IPC_FILES = \
 
85
    $(DLL_PREFIX)$(LIBRARY_NAME)$(DLL_SUFFIX) \
 
86
    $(NULL)
 
87
 
 
88
libs:: $(_IPC_FILES)
 
89
        $(INSTALL) $^ $(DIST)/bin/ipc/modules
 
90
 
 
91
install:: $(_IPC_FILES)
 
92
        $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/ipc/modules