-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile-modules.am
149 lines (128 loc) · 3.69 KB
/
Makefile-modules.am
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
dist_gjstweener_DATA = \
modules/tweener/equations.js \
modules/tweener/tweener.js \
modules/tweener/tweenList.js
dist_gjsoverride_DATA = \
modules/overrides/GLib.js \
modules/overrides/Gio.js \
modules/overrides/GObject.js
dist_gjsjs_DATA += \
modules/gettext.js \
modules/lang.js \
modules/jsUnit.js \
modules/signals.js \
modules/promise.js \
modules/format.js
gjsnative_LTLIBRARIES += console.la debugger.la langNative.la mainloop.la gettextNative.la system.la formatNative.la
if ENABLE_CAIRO
dist_gjsjs_DATA += \
modules/cairo.js \
$(NULL)
gjsnative_LTLIBRARIES += cairoNative.la
endif
JS_NATIVE_MODULE_CFLAGS = \
$(AM_CFLAGS) \
-DGJS_COMPILATION \
$(GJS_CFLAGS)
JS_NATIVE_MODULE_LIBADD = \
libgjs.la \
$(GJS_LIBS)
JS_NATIVE_MODULE_LDFLAGS = \
$(EXTRA_LINK_FLAGS) \
-module -avoid-version -no-undefined -rdynamic
langNative_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
langNative_la_LIBADD = \
libgjs.la \
$(JS_NATIVE_MODULE_LIBADD)
langNative_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
langNative_la_SOURCES = \
modules/lang.h \
modules/lang.c
mainloop_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
mainloop_la_LIBADD = \
libgjs.la \
$(JS_NATIVE_MODULE_LIBADD)
mainloop_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
mainloop_la_SOURCES = \
modules/mainloop.h \
modules/mainloop.c
gettextNative_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
gettextNative_la_LIBADD = \
libgjs.la \
$(JS_NATIVE_MODULE_LIBADD)
gettextNative_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
gettextNative_la_SOURCES = \
modules/gettext-native.h \
modules/gettext-native.c
cairoNative_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS) \
$(GJS_CAIRO_CFLAGS) \
$(GJS_CFLAGS)
cairoNative_la_LIBADD = \
libgjs.la \
$(JS_NATIVE_MODULE_LIBADD) \
$(GJS_CAIRO_LIBS) \
$(GJS_LIBS)
cairoNative_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
cairoNative_la_SOURCES = \
modules/cairo-private.h \
modules/cairo-context.c \
modules/cairo-path.c \
modules/cairo-surface.c \
modules/cairo-image-surface.c \
modules/cairo-ps-surface.c \
modules/cairo-pdf-surface.c \
modules/cairo-svg-surface.c \
modules/cairo-pattern.c \
modules/cairo-gradient.c \
modules/cairo-linear-gradient.c \
modules/cairo-radial-gradient.c \
modules/cairo-surface-pattern.c \
modules/cairo-solid-pattern.c \
modules/cairo.c
system_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
system_la_LIBADD = \
$(JS_NATIVE_MODULE_LIBADD)
system_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
system_la_SOURCES = \
modules/system.h \
modules/system.c
console_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
console_la_LIBADD = \
$(JS_NATIVE_MODULE_LIBADD) \
$(READLINE_LIBS)
console_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
console_la_SOURCES = \
modules/console.h \
modules/console.c
debugger_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
debugger_la_LIBADD = \
libgjs.la \
$(JS_NATIVE_MODULE_LIBADD)
debugger_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
debugger_la_SOURCES = \
modules/debugger.h \
modules/debugger.c
formatNative_la_CFLAGS = \
$(JS_NATIVE_MODULE_CFLAGS)
formatNative_la_LIBADD = \
libgjs.la \
$(JS_NATIVE_MODULE_LIBADD)
formatNative_la_LDFLAGS = \
$(JS_NATIVE_MODULE_LDFLAGS)
formatNative_la_SOURCES = \
modules/format.h \
modules/format.c