Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron...
[wine-gecko.git] / embedding / qa / testembed / Makefile.in
blobeec606992cf23831176390c0090bbbac6791a1c4
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Original Code is mozilla.org Code.
16 # The Initial Developer of the Original Code is
17 # Netscape Communications Corporation.
18 # Portions created by the Initial Developer are Copyright (C) 2001
19 # the Initial Developer. All Rights Reserved.
21 # Contributor(s):
22 # Ashish Bhatt <ashishbhatt@netscape.com>
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # 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.
36 # ***** END LICENSE BLOCK *****
38 DEPTH = ../../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
43 include $(DEPTH)/config/autoconf.mk
45 PROGRAM = testembed$(BIN_SUFFIX)
46 RESFILE = testembed.res
47 MOZILLA_INTERNAL_API = 1
49 MODULE = testEmbed
51 REQUIRES = \
52 xpcom_obsolete \
53 xpcom \
54 string \
55 necko \
56 webbrwsr \
57 webBrowser_core \
58 widget \
59 docshell \
60 dom \
61 uriloader \
62 embed_base \
63 webshell \
64 shistory \
65 appcomps \
66 pref \
67 profile \
68 find \
69 gfx \
70 windowwatcher \
71 layout \
72 history \
73 exthandler \
74 content \
75 webbrowserpersist \
76 xpinstall \
77 composer \
78 commandhandler \
79 editor \
80 $(NULL)
82 CPPSRCS = \
83 nsihttpchanneltests.cpp \
84 nsichanneltests.cpp \
85 TestEmbed.cpp \
86 BrowserFrm.cpp \
87 BrowserFrameGlue.cpp \
88 BrowserToolTip.cpp \
89 BrowserView.cpp \
90 BrowserImpl.cpp \
91 BrowserImplWebPrgrsLstnr.cpp \
92 BrowserImplHistoryLstnr.cpp \
93 BrowserImplCtxMenuLstnr.cpp \
94 Dialogs.cpp \
95 ProfileMgr.cpp \
96 ProfilesDlg.cpp \
97 winEmbedFileLocProvider.cpp \
98 MostRecentUrls.cpp \
99 PrintProgressDialog.cpp \
100 Preferences.cpp \
101 StdAfx.cpp \
102 UrlDialog.cpp \
103 QaUtils.cpp \
104 Tests.cpp \
105 nsirequest.cpp \
106 nsiHistory.cpp \
107 nsIWebNav.cpp \
108 nsiDirServ.cpp \
109 DomWindow.cpp \
110 Selection.cpp \
111 nsProfile.cpp \
112 nsIclipboardcmd.cpp \
113 nsIObserServ.cpp \
114 nsIFile.cpp \
115 nsIWebBrow.cpp \
116 nsIWebProg.cpp \
117 nsIWebBrowFind.cpp \
118 QaFindDlg.cpp \
119 WebProgDlg.cpp \
120 nsIEditSession.cpp \
121 nsICommandMgr.cpp \
122 nsICmdParams.cpp \
123 $(NULL)
125 EXTRA_DSO_LIBS = embed_base_s gkgfx testEmbedComponents
127 LIBS = \
128 $(EXTRA_DSO_LIBS) \
129 $(XPCOM_LIBS) \
130 $(NSPR_LIBS) \
131 $(NULL)
133 OS_LIBS += \
134 ole32.lib \
135 comdlg32.lib \
136 shell32.lib \
137 version.lib \
138 $(NULL)
140 LOCAL_INCLUDES = -I$(srcdir)/components
143 # Control the default heap size.
144 # This is the heap returned by GetProcessHeap().
145 # As we use the CRT heap, the default size is too large and wastes VM.
147 # The default heap size is 1MB on Win32.
148 # The heap will grow if need be.
150 # Set it to 256k. See bug 127069.
153 LDFLAGS += /HEAP:0x40000
155 include $(topsrcdir)/config/rules.mk
157 CXXFLAGS += /D "_AFXDLL" /D "USE_SINGLE_SIGN_ON" -DMOZILLA_VERSION=\"$(MOZILLA_VERSION)\"
158 LDFLAGS += -SUBSYSTEM:windows
160 libs:: testembed.htm
161 $(INSTALL) $^ $(DIST)/bin
163 install:: testembed.htm
164 $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)