1 | #
|
---|
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.org code.
|
---|
16 | #
|
---|
17 | # The Initial Developer of the Original Code is
|
---|
18 | # Netscape Communications Corporation.
|
---|
19 | # Portions created by the Initial Developer are Copyright (C) 1998
|
---|
20 | # the Initial Developer. All Rights Reserved.
|
---|
21 | #
|
---|
22 | # Contributor(s):
|
---|
23 | #
|
---|
24 | # Alternatively, the contents of this file may be used under the terms of
|
---|
25 | # either of the GNU General Public License Version 2 or later (the "GPL"),
|
---|
26 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
---|
27 | # in which case the provisions of the GPL or the LGPL are applicable instead
|
---|
28 | # of those above. If you wish to allow use of your version of this file only
|
---|
29 | # under the terms of either the GPL or the LGPL, and not to allow others to
|
---|
30 | # use your version of this file under the terms of the MPL, indicate your
|
---|
31 | # decision by deleting the provisions above and replace them with the notice
|
---|
32 | # and other provisions required by the GPL or the LGPL. If you do not delete
|
---|
33 | # the provisions above, a recipient may use your version of this file under
|
---|
34 | # the terms of any one of the MPL, the GPL or the LGPL.
|
---|
35 | #
|
---|
36 | # ***** END LICENSE BLOCK *****
|
---|
37 |
|
---|
38 | DEPTH = ../..
|
---|
39 | topsrcdir = @top_srcdir@
|
---|
40 | srcdir = @srcdir@
|
---|
41 | VPATH = @srcdir@
|
---|
42 |
|
---|
43 | include $(DEPTH)/config/autoconf.mk
|
---|
44 |
|
---|
45 | MODULE = xpcom
|
---|
46 | XPIDL_MODULE = xpcom_ds
|
---|
47 | LIBRARY_NAME = xpcomds_s
|
---|
48 | GRE_MODULE = 1
|
---|
49 |
|
---|
50 | REQUIRES = \
|
---|
51 | string \
|
---|
52 | $(NULL)
|
---|
53 |
|
---|
54 | CSRCS = \
|
---|
55 | pldhash.c \
|
---|
56 | $(NULL)
|
---|
57 |
|
---|
58 | CPPSRCS = \
|
---|
59 | nsAtomTable.cpp \
|
---|
60 | nsAtomService.cpp \
|
---|
61 | nsByteBuffer.cpp \
|
---|
62 | nsCheapSets.cpp \
|
---|
63 | nsCRT.cpp \
|
---|
64 | nsDeque.cpp \
|
---|
65 | nsEmptyEnumerator.cpp \
|
---|
66 | nsEnumeratorUtils.cpp \
|
---|
67 | nsFixedSizeAllocator.cpp \
|
---|
68 | nsHashSets.cpp \
|
---|
69 | nsHashtable.cpp \
|
---|
70 | nsObserverList.cpp \
|
---|
71 | nsObserverService.cpp \
|
---|
72 | nsProperties.cpp \
|
---|
73 | nsPersistentProperties.cpp \
|
---|
74 | nsQuickSort.cpp \
|
---|
75 | nsRecyclingAllocator.cpp \
|
---|
76 | nsStaticNameTable.cpp \
|
---|
77 | nsStringEnumerator.cpp \
|
---|
78 | nsSupportsArray.cpp \
|
---|
79 | nsSupportsArrayEnumerator.cpp \
|
---|
80 | nsSupportsPrimitives.cpp \
|
---|
81 | nsTHashtable.cpp \
|
---|
82 | nsUnicharBuffer.cpp \
|
---|
83 | nsVariant.cpp \
|
---|
84 | nsVoidArray.cpp \
|
---|
85 | nsTextFormatter.cpp \
|
---|
86 | nsTimelineService.cpp \
|
---|
87 | nsValueArray.cpp \
|
---|
88 | nsCOMArray.cpp \
|
---|
89 | nsArray.cpp \
|
---|
90 | nsArrayEnumerator.cpp \
|
---|
91 | $(NULL)
|
---|
92 |
|
---|
93 | EXPORTS = \
|
---|
94 | nsAtomService.h \
|
---|
95 | nsBaseHashtable.h \
|
---|
96 | nsCheapSets.h \
|
---|
97 | nsClassHashtable.h \
|
---|
98 | nsCppSharedAllocator.h \
|
---|
99 | nsCRT.h \
|
---|
100 | nsDataHashtable.h \
|
---|
101 | nsDeque.h \
|
---|
102 | nsDoubleHashtable.h \
|
---|
103 | nsEnumeratorUtils.h \
|
---|
104 | nsFixedSizeAllocator.h \
|
---|
105 | nsHashSets.h \
|
---|
106 | nsHashKeys.h \
|
---|
107 | nsHashtable.h \
|
---|
108 | nsIByteBuffer.h \
|
---|
109 | nsIUnicharBuffer.h \
|
---|
110 | nsInt64.h \
|
---|
111 | nsInterfaceHashtable.h \
|
---|
112 | nsObserverService.h \
|
---|
113 | nsQuickSort.h \
|
---|
114 | nsRecyclingAllocator.h \
|
---|
115 | nsRefPtrHashtable.h \
|
---|
116 | nsStaticNameTable.h \
|
---|
117 | nsStaticAtom.h \
|
---|
118 | nsSupportsArray.h \
|
---|
119 | nsSupportsPrimitives.h \
|
---|
120 | nsTHashtable.h \
|
---|
121 | nsTime.h \
|
---|
122 | nsUnitConversion.h \
|
---|
123 | nsVariant.h \
|
---|
124 | nsVoidArray.h \
|
---|
125 | pldhash.h \
|
---|
126 | nsTextFormatter.h \
|
---|
127 | nsValueArray.h \
|
---|
128 | nsArray.h \
|
---|
129 | nsArrayEnumerator.h \
|
---|
130 | nsCOMArray.h \
|
---|
131 | nsStringEnumerator.h \
|
---|
132 | nsAutoBuffer.h \
|
---|
133 | $(NULL)
|
---|
134 |
|
---|
135 | XPIDLSRCS = \
|
---|
136 | nsIAtom.idl \
|
---|
137 | nsIAtomService.idl \
|
---|
138 | nsICollection.idl \
|
---|
139 | nsIEnumerator.idl \
|
---|
140 | nsIPersistentProperties2.idl \
|
---|
141 | nsIPropertyBag.idl \
|
---|
142 | nsIRecyclingAllocator.idl \
|
---|
143 | nsIVariant.idl \
|
---|
144 | nsISerializable.idl \
|
---|
145 | nsIStringEnumerator.idl \
|
---|
146 | nsISupportsArray.idl \
|
---|
147 | nsISupportsIterators.idl \
|
---|
148 | nsITimelineService.idl \
|
---|
149 | nsIArray.idl \
|
---|
150 | $(NULL)
|
---|
151 |
|
---|
152 | SDK_XPIDLSRCS = \
|
---|
153 | nsIObserverService.idl \
|
---|
154 | nsIObserver.idl \
|
---|
155 | nsIProperties.idl \
|
---|
156 | nsISimpleEnumerator.idl \
|
---|
157 | nsISupportsPrimitives.idl \
|
---|
158 | $(NULL)
|
---|
159 |
|
---|
160 | EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
---|
161 |
|
---|
162 | # we don't want the shared lib, but we want to force the creation of a static lib.
|
---|
163 | FORCE_STATIC_LIB = 1
|
---|
164 |
|
---|
165 | # Force use of PIC
|
---|
166 | FORCE_USE_PIC = 1
|
---|
167 |
|
---|
168 | include $(topsrcdir)/config/rules.mk
|
---|
169 |
|
---|
170 |
|
---|
171 | DEFINES += -D_IMPL_NS_COM
|
---|