source: trunk/third/firefox/xpcom/components/Makefile.in @ 21695

Revision 21695, 2.2 KB checked in by rbasch, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21694, which included commits to RCS files with non-trunk default branches.
Line 
1#
2# The contents of this file are subject to the Netscape 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/NPL/
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 Netscape
15# Communications Corporation.  Portions created by Netscape are
16# Copyright (C) 1998 Netscape Communications Corporation. All
17# Rights Reserved.
18#
19# Contributor(s):
20#
21
22DEPTH           = ../..
23topsrcdir       = @top_srcdir@
24srcdir          = @srcdir@
25VPATH           = @srcdir@
26
27include $(DEPTH)/config/autoconf.mk
28
29MODULE          = xpcom
30XPIDL_MODULE    = xpcom_components
31LIBRARY_NAME    = xpcomcomponents_s
32GRE_MODULE      = 1
33
34REQUIRES        = string \
35                  $(NULL)
36
37CPPSRCS         = \
38                nsCategoryManager.cpp \
39                nsComponentManager.cpp \
40                nsComponentManagerObsolete.cpp \
41                nsNativeComponentLoader.cpp \
42                nsServiceManagerObsolete.cpp \
43                xcDll.cpp \
44                $(NULL)
45
46ifdef MOZ_STATIC_COMPONENT_LOADER
47CPPSRCS         += nsStaticComponentLoader.cpp
48endif
49
50EXPORTS         = \
51                nsCategoryManagerUtils.h \
52                nsComponentManagerUtils.h \
53                nsComponentManagerObsolete.h \
54                nsIServiceManagerUtils.h \
55                nsIServiceManagerObsolete.h \
56                nsNativeComponentLoader.h \
57                nsStaticComponent.h \
58                nsObsoleteModuleLoading.h \
59                xcDll.h \
60                $(NULL)
61
62XPIDLSRCS       = \
63                nsIComponentLoader.idl \
64                nsIComponentLoaderManager.idl \
65                nsIComponentManagerObsolete.idl \
66                nsINativeComponentLoader.idl  \
67                $(NULL)
68
69SDK_XPIDLSRCS   = \
70                nsIClassInfo.idl              \
71                nsIComponentRegistrar.idl     \
72                nsIFactory.idl                \
73                nsIModule.idl                 \
74                nsIServiceManager.idl         \
75                nsIComponentManager.idl       \
76                nsICategoryManager.idl        \
77                $(NULL)
78
79EXPORTS         := $(addprefix $(srcdir)/, $(EXPORTS))
80
81LOCAL_INCLUDES  = -I$(srcdir)/../base -I$(srcdir)/../thread -I$(srcdir)/../ds -I..
82
83# we don't want the shared lib, but we want to force the creation of a static lib.
84FORCE_STATIC_LIB = 1
85
86# Force use of PIC
87FORCE_USE_PIC   = 1
88include $(topsrcdir)/config/rules.mk
89
90DEFINES += -D_IMPL_NS_COM -DEXPORT_XPTI_API
Note: See TracBrowser for help on using the repository browser.