VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/xpcom/io/Makefile.in@ 78394

Last change on this file since 78394 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
Line 
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
38DEPTH = ../..
39topsrcdir = @top_srcdir@
40srcdir = @srcdir@
41VPATH = @srcdir@
42
43include $(DEPTH)/config/autoconf.mk
44
45MODULE = xpcom
46XPIDL_MODULE = xpcom_io
47LIBRARY_NAME = xpcomio_s
48GRE_MODULE = 1
49REQUIRES = string \
50 $(NULL)
51
52ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
53REQUIRES += macmorefiles
54endif
55
56CPPSRCS = \
57 nsAppFileLocationProvider.cpp \
58 nsBinaryStream.cpp \
59 nsByteArrayInputStream.cpp \
60 nsDirectoryService.cpp \
61 nsEscape.cpp \
62 nsFastLoadFile.cpp \
63 nsFastLoadService.cpp \
64 nsInputStreamTee.cpp \
65 nsLinebreakConverter.cpp \
66 nsLocalFileCommon.cpp \
67 nsMultiplexInputStream.cpp \
68 nsPipe3.cpp \
69 nsStreamUtils.cpp \
70 nsScriptableInputStream.cpp \
71 nsSegmentedBuffer.cpp \
72 SpecialSystemDirectory.cpp \
73 nsStorageStream.cpp \
74 nsStringStream.cpp \
75 nsUnicharInputStream.cpp \
76 nsNativeCharsetUtils.cpp \
77 $(NULL)
78
79ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
80CPPSRCS += nsLocalFileOS2.cpp
81else
82ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
83CPPSRCS += nsLocalFileOSX.cpp
84else
85ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
86CPPSRCS += nsLocalFileWin.cpp
87else
88CPPSRCS += nsLocalFileUnix.cpp
89endif # windows
90endif # mac
91endif # OS2
92
93EXPORTS = \
94 nsAppDirectoryServiceDefs.h \
95 nsDirectoryService.h \
96 nsDirectoryServiceUtils.h \
97 nsEscape.h \
98 nsFastLoadPtr.h \
99 nsFastLoadService.h \
100 nsIUnicharInputStream.h \
101 nsLinebreakConverter.h \
102 nsLocalFile.h \
103 nsMultiplexInputStream.h \
104 nsScriptableInputStream.h \
105 nsStorageStream.h \
106 nsStringIO.h \
107 nsStringStream.h \
108 nsStreamUtils.h \
109 nsNativeCharsetUtils.h \
110 $(NULL)
111
112ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
113EXPORTS += nsLocalFileOS2.h
114else
115ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
116EXPORTS += nsLocalFileOSX.h
117else
118ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
119EXPORTS += nsLocalFileWin.h
120else
121EXPORTS += nsLocalFileUnix.h
122endif # windows
123endif # mac
124endif # os2
125
126XPIDLSRCS = \
127 nsIBinaryInputStream.idl \
128 nsIBinaryOutputStream.idl \
129 nsIByteArrayInputStream.idl \
130 nsIFastLoadFileControl.idl \
131 nsIFastLoadService.idl \
132 nsIInputStreamTee.idl \
133 nsILineInputStream.idl \
134 nsIMultiplexInputStream.idl \
135 nsIObjectInputStream.idl \
136 nsIObjectOutputStream.idl \
137 nsIPipe.idl \
138 nsISeekableStream.idl \
139 nsIStorageStream.idl \
140 nsIStringStream.idl \
141 nsIStreamBufferAccess.idl \
142 nsIAsyncInputStream.idl \
143 nsIAsyncOutputStream.idl \
144 $(NULL)
145
146ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
147XPIDLSRCS += nsILocalFileMac.idl
148endif
149
150SDK_XPIDLSRCS = \
151 nsIDirectoryService.idl \
152 nsIFile.idl \
153 nsILocalFile.idl \
154 nsIInputStream.idl \
155 nsIOutputStream.idl \
156 nsIScriptableInputStream.idl \
157 $(NULL)
158
159SDK_HEADERS = \
160 nsDirectoryServiceDefs.h \
161 $(NULL)
162
163EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
164
165# we don't want the shared lib, but we want to force the creation of a static lib.
166FORCE_STATIC_LIB = 1
167
168# Force use of PIC
169FORCE_USE_PIC = 1
170
171include $(topsrcdir)/config/rules.mk
172
173DEFINES += -D_IMPL_NS_COM
174
175LOCAL_INCLUDES = -I..
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette