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

« back to all changes in this revision

Viewing changes to mozilla/xpcom/base/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 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
 
 
22
DEPTH           = ../..
 
23
topsrcdir       = @top_srcdir@
 
24
srcdir          = @srcdir@
 
25
VPATH           = @srcdir@
 
26
 
 
27
include $(DEPTH)/config/autoconf.mk
 
28
 
 
29
MODULE          = xpcom
 
30
XPIDL_MODULE    = xpcom_base
 
31
LIBRARY_NAME    = xpcombase_s
 
32
GRE_MODULE      = 1
 
33
 
 
34
REQUIRES        = string \
 
35
                  $(NULL)
 
36
 
 
37
CPPSRCS         = \
 
38
                nsAllocator.cpp \
 
39
                nsConsoleMessage.cpp \
 
40
                nsConsoleService.cpp \
 
41
                nsDebugImpl.cpp \
 
42
                nsErrorService.cpp \
 
43
                nsExceptionService.cpp \
 
44
                nsID.cpp \
 
45
                nsMemoryImpl.cpp \
 
46
                nsTraceRefcntImpl.cpp \
 
47
                $(NULL)
 
48
 
 
49
ifdef GC_LEAK_DETECTOR
 
50
CSRCS += nsGarbageCollector.c
 
51
CPPSRCS += nsLeakDetector.cpp
 
52
REQUIRES        += boehm
 
53
endif
 
54
 
 
55
EXPORTS         = \
 
56
                nsAgg.h \
 
57
                nsAutoPtr.h \
 
58
                nsCom.h \
 
59
                nsComObsolete.h \
 
60
                nsDebugImpl.h \
 
61
                nsIAllocator.h \
 
62
                nsIID.h \
 
63
                nsISupportsObsolete.h \
 
64
                nsTraceRefcntImpl.h \
 
65
                nsWeakPtr.h \
 
66
                $(NULL)
 
67
 
 
68
ifeq ($(OS_ARCH),WINNT)
 
69
ifdef MOZ_DEBUG
 
70
CSRCS           += pure_api.c
 
71
EXPORTS         += pure.h
 
72
endif
 
73
CPPSRCS         += nsStackFrameWin.cpp
 
74
endif
 
75
 
 
76
ifneq ($(OS_ARCH),WINNT)
 
77
CPPSRCS         += nsStackFrameUnix.cpp
 
78
endif
 
79
 
 
80
SDK_XPIDLSRCS   = \
 
81
                nsIDebug.idl               \
 
82
                nsIInterfaceRequestor.idl  \
 
83
                nsIMemory.idl              \
 
84
                nsIProgrammingLanguage.idl \
 
85
                nsISupports.idl            \
 
86
                nsITraceRefcnt.idl         \
 
87
                nsIWeakReference.idl       \
 
88
                nsrootidl.idl              \
 
89
 
 
90
SDK_HEADERS     = \
 
91
                nsError.h \
 
92
                nsID.h \
 
93
                nsISupportsBase.h \
 
94
                nscore.h \
 
95
 
 
96
XPIDLSRCS       = \
 
97
                nsIConsoleListener.idl \
 
98
                nsIConsoleMessage.idl \
 
99
                nsIConsoleService.idl \
 
100
                nsIErrorService.idl \
 
101
                nsIException.idl \
 
102
                nsIExceptionService.idl \
 
103
                $(NULL)
 
104
 
 
105
ifdef GC_LEAK_DETECTOR
 
106
XPIDLSRCS       += nsILeakDetector.idl
 
107
endif
 
108
 
 
109
# we don't want the shared lib, but we want to force the creation of a static lib.
 
110
FORCE_STATIC_LIB = 1
 
111
 
 
112
# Force use of PIC
 
113
FORCE_USE_PIC   = 1
 
114
 
 
115
include $(topsrcdir)/config/rules.mk
 
116
 
 
117
DEFINES         += -D_IMPL_NS_COM
 
118