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