1 | ## Process this file with automake to produce Makefile.in. |
---|
2 | # CFLAGS += -Wall \ |
---|
3 | # -Wpointer-arith \ |
---|
4 | # -Wmissing-prototypes -Wmissing-declarations |
---|
5 | |
---|
6 | ## We require new-style dependency handling. |
---|
7 | AUTOMAKE_OPTIONS = 1.3 |
---|
8 | |
---|
9 | SUBDIRS = config doc help |
---|
10 | |
---|
11 | INCLUDES = \ |
---|
12 | -I. \ |
---|
13 | -I$(srcdir) \ |
---|
14 | -I$(top_srcdir)/intl \ |
---|
15 | -I$(top_builddir)/intl \ |
---|
16 | -I$(top_builddir)/panel \ |
---|
17 | -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ |
---|
18 | -DGNOME_DATADIR=\""$(datadir)"\" \ |
---|
19 | -DGLADEDIR=\""$(datadir)/gnome/panel"\" \ |
---|
20 | -DGLOBAL_CONFDIR=\""$(sysconfdir)/gnome/panel-config"\" \ |
---|
21 | -I$(includedir) \ |
---|
22 | $(GNOME_INCLUDEDIR) \ |
---|
23 | $(ORB_CFLAGS) \ |
---|
24 | $(GNOME_PRINT_CFLAGS) \ |
---|
25 | $(GLADE_CFLAGS) \ |
---|
26 | $(PIXBUF_CFLAGS) |
---|
27 | |
---|
28 | gwmh_dir = $(top_srcdir)/applets/desk-guide |
---|
29 | |
---|
30 | bin_PROGRAMS = \ |
---|
31 | panel \ |
---|
32 | gnome-panel-properties-capplet \ |
---|
33 | gnome-panel-add-launcher \ |
---|
34 | gnome-panel-screenshot |
---|
35 | |
---|
36 | noinst_PROGRAMS = bad-applet |
---|
37 | |
---|
38 | libpanel_appletincludedir = $(includedir) |
---|
39 | libpanel_statusincludedir = $(includedir) |
---|
40 | |
---|
41 | lib_LTLIBRARIES = libpanel_applet.la libpanel_status.la |
---|
42 | |
---|
43 | CORBA_SRCLIST = \ |
---|
44 | gnome-panel-stubs.c \ |
---|
45 | gnome-panel-skels.c \ |
---|
46 | gnome-panel-common.c \ |
---|
47 | gnome-panel.h |
---|
48 | |
---|
49 | # try to make these get cleaned properly |
---|
50 | CLEANFILES += $(CORBA_SRCLIST) my_gnome_panel_idl |
---|
51 | |
---|
52 | $(CORBA_SRCLIST): my_gnome_panel_idl |
---|
53 | |
---|
54 | my_gnome_panel_idl: $(top_srcdir)/idl/gnome-panel.idl $(ORBIT_IDL) |
---|
55 | if $(ORBIT_IDL) `@GNOME_CONFIG@ --cflags idl` $< ; then touch my_gnome_panel_idl; else /bin/false; fi |
---|
56 | |
---|
57 | # We need explicit dependencies here for people building out |
---|
58 | # of the tarballs. |
---|
59 | |
---|
60 | extern.c: gnome-panel.h |
---|
61 | |
---|
62 | libpanel_applet_la_SOURCES = \ |
---|
63 | applet-widget.c \ |
---|
64 | $(CORBA_SRCLIST) |
---|
65 | |
---|
66 | libpanel_appletinclude_HEADERS = \ |
---|
67 | applet-widget.h \ |
---|
68 | gnome-panel.h |
---|
69 | |
---|
70 | libpanel_applet_la_LDFLAGS = -version-info 0:1:0 -rpath $(libdir) |
---|
71 | libpanel_applet_la_LIBADD = $(ORB_LIBS) -lm $(DL_LIB) |
---|
72 | |
---|
73 | libpanel_status_la_SOURCES = \ |
---|
74 | status-docklet.c \ |
---|
75 | $(CORBA_SRCLIST) |
---|
76 | |
---|
77 | libpanel_statusinclude_HEADERS = \ |
---|
78 | status-docklet.h |
---|
79 | |
---|
80 | libpanel_status_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir) |
---|
81 | libpanel_status_la_LIBADD = $(ORB_LIBS) -lm $(DL_LIB) |
---|
82 | |
---|
83 | bad_applet_SOURCES = bad-applet.c |
---|
84 | |
---|
85 | bad_applet_LDADD = \ |
---|
86 | libpanel_applet.la \ |
---|
87 | $(GNOME_LIBDIR) \ |
---|
88 | $(GNORBA_LIBS) \ |
---|
89 | $(INTLLIBS) |
---|
90 | |
---|
91 | GWMH_SRCLIST = \ |
---|
92 | gwmh.c \ |
---|
93 | gwmh.h \ |
---|
94 | gstc.c \ |
---|
95 | gstc.h |
---|
96 | |
---|
97 | $(GWMH_SRCLIST): |
---|
98 | for file in $(GWMH_SRCLIST); do \ |
---|
99 | echo $$file ; \ |
---|
100 | ln -sf $(gwmh_dir)/$$file . ; \ |
---|
101 | done |
---|
102 | |
---|
103 | BUILT_SOURCES = $(CORBA_SRCLIST) $(GWMH_SRCLIST) |
---|
104 | |
---|
105 | panel_SOURCES=\ |
---|
106 | $(GWMH_SRCLIST) \ |
---|
107 | panel-include.h \ |
---|
108 | panel-types.h \ |
---|
109 | main.c \ |
---|
110 | main.h \ |
---|
111 | applet.c \ |
---|
112 | applet.h \ |
---|
113 | panel.c \ |
---|
114 | panel.h \ |
---|
115 | session.c \ |
---|
116 | session.h \ |
---|
117 | panel_config.c \ |
---|
118 | panel_config.h \ |
---|
119 | panel_config_global.h \ |
---|
120 | distribution.c \ |
---|
121 | distribution.h \ |
---|
122 | menu.c \ |
---|
123 | menu.h \ |
---|
124 | menu-fentry.c \ |
---|
125 | menu-fentry.h \ |
---|
126 | menu-rh.c \ |
---|
127 | menu-rh.h \ |
---|
128 | menu-properties.c \ |
---|
129 | menu-properties.h \ |
---|
130 | menu-util.c \ |
---|
131 | menu-util.h \ |
---|
132 | launcher.c \ |
---|
133 | launcher.h \ |
---|
134 | logout.c \ |
---|
135 | logout.h \ |
---|
136 | extern.c \ |
---|
137 | extern.h \ |
---|
138 | status.c \ |
---|
139 | status.h \ |
---|
140 | swallow.c \ |
---|
141 | swallow.h \ |
---|
142 | drawer.c \ |
---|
143 | drawer.h \ |
---|
144 | panel-widget.c \ |
---|
145 | panel-widget.h \ |
---|
146 | basep-widget.c \ |
---|
147 | basep-widget.h \ |
---|
148 | border-widget.c \ |
---|
149 | border-widget.h \ |
---|
150 | edge-widget.c \ |
---|
151 | edge-widget.h \ |
---|
152 | aligned-widget.c \ |
---|
153 | aligned-widget.h \ |
---|
154 | sliding-widget.c \ |
---|
155 | sliding-widget.h \ |
---|
156 | floating-widget.c \ |
---|
157 | floating-widget.h \ |
---|
158 | drawer-widget.c \ |
---|
159 | drawer-widget.h \ |
---|
160 | button-widget.c \ |
---|
161 | button-widget.h \ |
---|
162 | panel-util.c \ |
---|
163 | panel-util.h \ |
---|
164 | tearoffitem.c \ |
---|
165 | tearoffitem.h \ |
---|
166 | rgb-stuff.h \ |
---|
167 | rgb-stuff.c \ |
---|
168 | global-keys.c \ |
---|
169 | global-keys.h \ |
---|
170 | gnome-run.c \ |
---|
171 | gnome-run.h \ |
---|
172 | xstuff.c \ |
---|
173 | xstuff.h \ |
---|
174 | foobar-widget.h \ |
---|
175 | foobar-widget.c \ |
---|
176 | tasklist_icon.c \ |
---|
177 | tasklist_icon.h \ |
---|
178 | title-item.h \ |
---|
179 | title-item.c \ |
---|
180 | title-item-private.h \ |
---|
181 | scroll-menu.h \ |
---|
182 | scroll-menu.c \ |
---|
183 | icon-entry-hack.c \ |
---|
184 | icon-entry-hack.h \ |
---|
185 | multiscreen-stuff.c \ |
---|
186 | multiscreen-stuff.h \ |
---|
187 | conditional.c \ |
---|
188 | conditional.h |
---|
189 | |
---|
190 | man_MANS = panel.1 \ |
---|
191 | gnome-panel-add-launcher.1 \ |
---|
192 | gnome-panel-properties-capplet.1 |
---|
193 | |
---|
194 | panel_LDADD = \ |
---|
195 | libpanel_applet.la \ |
---|
196 | $(GNOME_LIBDIR) \ |
---|
197 | $(GNORBA_LIBS) \ |
---|
198 | $(ORB_LIBS) \ |
---|
199 | $(GNOMEUI_LIBS) \ |
---|
200 | $(INTLLIBS) \ |
---|
201 | $(PIXBUF_LIBS) \ |
---|
202 | $(XINERAMA_LIBS) |
---|
203 | |
---|
204 | panel_LDFLAGS=-export-dynamic |
---|
205 | |
---|
206 | gnome_panel_properties_capplet_SOURCES = \ |
---|
207 | gnome-panel-properties.c \ |
---|
208 | panel-util.c \ |
---|
209 | icon-entry-hack.c \ |
---|
210 | conditional.c \ |
---|
211 | $(CORBA_SRCLIST) |
---|
212 | |
---|
213 | gnome_panel_properties_capplet_LDADD = \ |
---|
214 | $(GNOME_LIBDIR) \ |
---|
215 | $(GNOME_CAPPLET_LIBS) \ |
---|
216 | $(INTLLIBS) \ |
---|
217 | $(PIXBUF_LIBS) |
---|
218 | |
---|
219 | gnome_panel_add_launcher_SOURCES = \ |
---|
220 | gnome-panel-add-launcher.c \ |
---|
221 | $(CORBA_SRCLIST) |
---|
222 | |
---|
223 | gnome_panel_screenshot_SOURCES = \ |
---|
224 | gnome-panel-screenshot.c |
---|
225 | |
---|
226 | gnome_panel_add_launcher_LDADD = \ |
---|
227 | $(GNOME_LIBDIR) \ |
---|
228 | $(GNOMEUI_LIBS) \ |
---|
229 | $(GNORBA_LIBS) \ |
---|
230 | $(ORB_LIBS) \ |
---|
231 | $(INTLLIBS) \ |
---|
232 | $(PIXBUF_LIBS) |
---|
233 | |
---|
234 | gnome_panel_screenshot_LDADD = \ |
---|
235 | $(GNOME_LIBDIR) \ |
---|
236 | $(GNOMEUI_LIBS) \ |
---|
237 | $(GLADE_LIBS) \ |
---|
238 | $(GNOME_PRINT_LIBS) \ |
---|
239 | $(INTLLIBS) \ |
---|
240 | $(PNG_LIBS) \ |
---|
241 | $(PIXBUF_LIBS) |
---|
242 | |
---|
243 | MAINTAINERCLEANFILES = $(CORBA_SRCLIST) |
---|
244 | |
---|
245 | EXTRA_DIST = \ |
---|
246 | appletsConf.sh.in \ |
---|
247 | dockletsConf.sh.in \ |
---|
248 | panel.gnorba \ |
---|
249 | panel.soundlist.in \ |
---|
250 | APPLET_WRITING \ |
---|
251 | panel.hints \ |
---|
252 | gnome-panel-properties.desktop.in \ |
---|
253 | nothing.cP \ |
---|
254 | title-item.gob \ |
---|
255 | gnome-panel-screenshot.glade \ |
---|
256 | gnome-panel-screenshot.glade.h \ |
---|
257 | $(man_MANS) |
---|
258 | |
---|
259 | ## Put `exec' in the name because this should be installed by |
---|
260 | ## `install-exec', not `install-data'. |
---|
261 | confexecdir = $(libdir) |
---|
262 | confexec_DATA = appletsConf.sh dockletsConf.sh |
---|
263 | |
---|
264 | # |
---|
265 | # Create the appletsConf.sh file from the .sh.in file |
---|
266 | # |
---|
267 | appletsConf.sh: appletsConf.sh.in Makefile |
---|
268 | sed -e 's?\@GNOME_LIBDIR\@?$(GNOME_LIBDIR)?g' \ |
---|
269 | -e 's?\@GNOME_INCLUDEDIR\@?$(GNOME_INCLUDEDIR)?g' \ |
---|
270 | -e 's?\@GNOMEGNORBA_LIBS\@?$(GNOMEGNORBA_LIBS)?g' \ |
---|
271 | -e 's?\@VERSION\@?$(VERSION)?g' \ |
---|
272 | < $(srcdir)/appletsConf.sh.in > appletsConf.tmp \ |
---|
273 | && mv appletsConf.tmp appletsConf.sh |
---|
274 | |
---|
275 | # |
---|
276 | # Create the dockletsConf.sh file from the .sh.in file |
---|
277 | # |
---|
278 | dockletsConf.sh: dockletsConf.sh.in Makefile |
---|
279 | sed -e 's?\@GNOME_LIBDIR\@?$(GNOME_LIBDIR)?g' \ |
---|
280 | -e 's?\@GNOME_INCLUDEDIR\@?$(GNOME_INCLUDEDIR)?g' \ |
---|
281 | -e 's?\@GNOMEGNORBA_LIBS\@?$(GNOMEGNORBA_LIBS)?g' \ |
---|
282 | -e 's?\@VERSION\@?$(VERSION)?g' \ |
---|
283 | < $(srcdir)/dockletsConf.sh.in > dockletsConf.tmp \ |
---|
284 | && mv dockletsConf.tmp dockletsConf.sh |
---|
285 | |
---|
286 | panelgnorbadir = $(sysconfdir)/CORBA/servers |
---|
287 | panelgnorba_DATA = panel.gnorba |
---|
288 | |
---|
289 | soundlistdir = $(sysconfdir)/sound/events |
---|
290 | soundlist_in_files = panel.soundlist.in |
---|
291 | soundlist_DATA = $(soundlist_in_files:.soundlist.in=.soundlist) |
---|
292 | @XML_I18N_MERGE_SOUNDLIST_RULE@ |
---|
293 | |
---|
294 | gladedir = $(datadir)/gnome/panel |
---|
295 | glade_DATA =gnome-panel-screenshot.glade |
---|
296 | |
---|
297 | hintsdir = $(datadir)/gnome/hints |
---|
298 | hints_DATA = panel.hints |
---|
299 | |
---|
300 | sysdir = $(datadir)/control-center/Desktop/ |
---|
301 | sys_in_files = gnome-panel-properties.desktop.in |
---|
302 | sys_DATA = $(sys_in_files:.desktop.in=.desktop) |
---|
303 | @XML_I18N_MERGE_DESKTOP_RULE@ |
---|
304 | |
---|
305 | deskdir = $(datadir)/gnome/apps/Settings/Desktop/ |
---|
306 | desk_in_files = gnome-panel-properties.desktop.in |
---|
307 | desk_DATA = $(desk_in_files:.desktop.in=.desktop) |
---|
308 | @XML_I18N_MERGE_DESKTOP_RULE@ |
---|
309 | |
---|
310 | pixmapdir = $(datadir)/pixmaps |
---|
311 | pixmap_DATA = info.png logout-icon-menu.png |
---|
312 | |
---|
313 | athenadir = $(datadir)/gnome/athena |
---|
314 | athena_DATA = mail.desktop browser.desktop terminal.desktop editor.desktop |
---|
315 | athena_SCRIPTS = mail-script browser-script terminal-script editor-script setup |
---|
316 | AFSMENUS = /afs/athena.mit.edu/system/config/panel/menus |
---|
317 | |
---|
318 | install-data-local: |
---|
319 | $(mkinstalldirs) $(DESTDIR)$(athenadir) |
---|
320 | install -c -m 644 mail.png $(DESTDIR)$(athenadir)/mail-icon |
---|
321 | install -c -m 644 browser.png $(DESTDIR)$(athenadir)/browser-icon |
---|
322 | install -c -m 644 terminal.png $(DESTDIR)$(athenadir)/terminal-icon |
---|
323 | install -c -m 644 editor.png $(DESTDIR)$(athenadir)/editor-icon |
---|
324 | install -c -m 644 logout.png $(DESTDIR)$(athenadir)/logout-icon |
---|
325 | install -c -m 644 menu.png $(DESTDIR)$(athenadir)/menu-icon |
---|
326 | rm -f $(DESTDIR)$(athenadir)/menus |
---|
327 | ln -s $(AFSMENUS)-$(ATHENA_MAJOR_VERSION).$(ATHENA_MINOR_VERSION) \ |
---|
328 | $(DESTDIR)$(athenadir)/menus |
---|
329 | rm -f $(DESTDIR)$(athenadir)/menus.tar |
---|
330 | ln -s $(AFSMENUS)-$(ATHENA_MAJOR_VERSION).$(ATHENA_MINOR_VERSION).tar \ |
---|
331 | $(DESTDIR)$(athenadir)/menus.tar |
---|
332 | |
---|
333 | $(srcdir)/panel-util.c: $(CORBA_SRCLIST) |
---|
334 | |
---|
335 | applet-widget.o applet.o extern.o panel.o status-docklet.o status.o xstuff.o applet-widget.lo applet.lo extern.lo panel.lo status-docklet.lo status.lo xstuff.lo: gnome-panel.h |
---|