aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/Makefile.am
blob: 0491bac8a0e885558cd7dde4eaf2245bb6d8a01e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
noinst_LTLIBRARIES = libephymozillaembed.la

libephymozillaembed_la_SOURCES =    \
    AutoJSContextStack.cpp      \
    AutoJSContextStack.h        \
    AutoModalDialog.cpp     \
    AutoModalDialog.h       \
    AutoWindowModalState.cpp    \
    AutoWindowModalState.h      \
    ContentHandler.cpp      \
    ContentHandler.h        \
    EphyAboutModule.cpp     \
    EphyAboutModule.h       \
    EphyContentPolicy.cpp       \
    EphyContentPolicy.h     \
    EphyHeaderSniffer.cpp       \
    EphyHeaderSniffer.h     \
    EphyBrowser.cpp                 \
    EphyBrowser.h                   \
    EphyFind.cpp            \
    EphyFind.h          \
    EphyHistoryListener.cpp     \
    EphyHistoryListener.h       \
    EphyPromptService.cpp       \
    EphyPromptService.h     \
    EphyRedirectChannel.cpp     \
    EphyRedirectChannel.h       \
    EphySidebar.cpp         \
    EphySidebar.h           \
    EphySingle.cpp          \
    EphySingle.h            \
    EphyUtils.cpp           \
    EphyUtils.h         \
    EventContext.cpp                \
    EventContext.h                  \
    GeckoCookiePromptService.cpp    \
    GeckoCookiePromptService.h  \
    GeckoFormSigningDialog.cpp  \
    GeckoFormSigningDialog.h    \
    GeckoPrintService.cpp       \
    GeckoPrintService.h     \
    GeckoPrintSession.cpp       \
    GeckoPrintSession.h     \
    GlobalHistory.cpp               \
    GlobalHistory.h                 \
    MozDownload.cpp         \
    MozDownload.h           \
    MozRegisterComponents.cpp       \
    MozRegisterComponents.h         \
    mozilla-download.cpp        \
    mozilla-download.h      \
    mozilla-embed.cpp           \
    mozilla-embed.h         \
    mozilla-embed-event.cpp     \
    mozilla-embed-event.h       \
    mozilla-embed-find.cpp      \
    mozilla-embed-find.h        \
    mozilla-embed-persist.cpp       \
    mozilla-embed-persist.h     \
    mozilla-embed-single.cpp    \
    mozilla-embed-single.h          \
    mozilla-history-item.cpp        \
    mozilla-history-item.h          \
    mozilla-notifiers.cpp       \
    mozilla-notifiers.h

if HAVE_GECKO_1_9
libephymozillaembed_la_SOURCES += \
    EphyXULAppInfo.cpp      \
    EphyXULAppInfo.h        \
    $(NULL)
endif

if !HAVE_GECKO_1_9
libephymozillaembed_la_SOURCES +=   \
    EphyBadCertRejector.cpp     \
    EphyBadCertRejector.h       \
    EphyDirectoryProvider.cpp       \
    EphyDirectoryProvider.h     \
    $(NULL)
endif

if ENABLE_FILEPICKER
libephymozillaembed_la_SOURCES +=   \
    FilePicker.cpp          \
    FilePicker.h
endif

if HAVE_MOZILLA_PSM
libephymozillaembed_la_SOURCES +=   \
    GtkNSSClientAuthDialogs.cpp \
    GtkNSSClientAuthDialogs.h   \
    GtkNSSDialogs.cpp       \
    GtkNSSDialogs.h         \
    GtkNSSKeyPairDialogs.cpp    \
    GtkNSSKeyPairDialogs.h      \
    GtkNSSSecurityWarningDialogs.cpp\
    GtkNSSSecurityWarningDialogs.h
endif


if ENABLE_SPELLCHECKER
libephymozillaembed_la_SOURCES += \
    GeckoSpellCheckEngine.cpp   \
    GeckoSpellCheckEngine.h
endif

mozilla_include_subdirs = \
    .           \
    caps            \
    chardet         \
    chrome          \
    commandhandler      \
    content         \
    cookie          \
    docshell        \
    dom         \
    exthandler      \
    fastfind        \
    helperAppDlg        \
    find            \
    gfx         \
    gtkembedmoz     \
    history         \
    js          \
    layout          \
    locale          \
    mimetype        \
    necko           \
    nkcache         \
    passwordmgr     \
    pipboot         \
    pipnss          \
    pref            \
    shistory        \
    string          \
    sidebar         \
    spellchecker        \
    uriloader       \
    uconv           \
    wallet          \
    webbrowserpersist   \
    webbrwsr        \
    widget          \
    windowwatcher       \
    xmlextras       \
    xpcom           \
    xpconnect

libephymozillaembed_la_CPPFLAGS = \
    -I$(top_srcdir)/lib             \
    -I$(top_srcdir)/embed               \
    -I$(top_srcdir)                 \
    $(addprefix -I$(GECKO_INCLUDE_ROOT)/,$(mozilla_include_subdirs))    \
    -DSHARE_DIR=\"$(pkgdatadir)\"       \
    -DPLUGINDIR=\"$(libdir)/epiphany/$(EPIPHANY_MAJOR)/plugins\"        \
    -DMOZILLA_HOME=\"$(GECKO_HOME)\"    \
    -DMOZILLA_PREFIX=\"$(GECKO_PREFIX)\"    \
    -DMOZILLA_NATIVE_PLUGINSDIR=\"$(libdir)/mozilla/plugins\"       \
    -DUA_VERSION=\"$(EPIPHANY_UA_VERSION)\" \
    -DALLOW_PRIVATE_API         \
    $(AM_CPPFLAGS)

if HAVE_GECKO_1_9
if HAVE_GECKO_XPCOM_GLUE
libephymozillaembed_la_CPPFLAGS += \
    -DXPCOM_GLUE_USE_NSPR
endif
endif

libephymozillaembed_la_CXXFLAGS = \
    $(GECKO_CFLAGS)     \
    $(DEPENDENCIES_CFLAGS)  \
    $(AM_CXXFLAGS)

EXTRA_DIST =

if HAVE_GECKO_1_9
xptdir = $(pkgdatadir)/components
xpt_DATA = epiphany.xpt

EXTRA_DIST += \
    ephyIAddCertExceptionParams.idl \
    ephyIAddCertExceptionParams.h \
    $(xpt_DATA)
endif