1
2########
3########    WARNING: DO NOT CHANGE THIS FILE WITHOUT RUNNING dist.sh SUCCESSFULLY
4########    BEFORE PUSHING YOUR CHANGES!
5########
6
7
8AM_CPPFLAGS = -include ../config.h
9AM_CXXFLAGS = $(CORE_CFLAGS) $(XSM_CFLAGS) $(IMAGE_CFLAGS) $(AUDIO_CFLAGS) $(GIO_CFLAGS) -DEXEEXT=$(EXEEXT)
10
11EXTRA_DIST = \
12	ypointer.h \
13	globit.c
14
15EXTRA_PROGRAMS = \
16	icehelp \
17	icesound \
18	icewm-menu-fdo \
19	testarray \
20	testlocale \
21	testmap \
22	testmenus \
23	testnetwmhints \
24	testpointer \
25	testwinhints \
26	iceview \
27	icesame \
28	iceicon \
29	icerun \
30	icelist \
31	strtest \
32	iceskt \
33	iceclock
34
35noinst_LTLIBRARIES = \
36	libice.la\
37	libitk.la
38
39bin_PROGRAMS = \
40	icewm \
41	icewm-session \
42	icesh \
43	icehelp \
44	icewmhint \
45	icewmbg
46
47noinst_PROGRAMS = \
48	genpref
49
50TESTS = strtest testpointer testarray
51
52if BUILD_TESTS
53noinst_PROGRAMS += \
54	testarray \
55	testlocale \
56	testmap \
57	testmenus \
58	testnetwmhints \
59	testpointer \
60	testwinhints \
61	iceview \
62	icesame \
63	iceicon \
64	icerun \
65	icelist \
66	strtest
67endif
68
69if BUILD_SOUND
70bin_PROGRAMS += icesound
71endif
72
73if BUILD_MENU_FDO
74bin_PROGRAMS += icewm-menu-fdo
75endif
76
77if BUILD_ICEWMTRAY
78bin_PROGRAMS += icewmtray
79AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = icewmtray
80endif
81
82libice_la_SOURCES = \
83	MwmUtil.h \
84	WinMgr.h \
85	argument.h \
86	ascii.h \
87	base.h \
88	binascii.h \
89	bindkey.h \
90	debug.h \
91	default.h \
92	guievent.h \
93	intl.h \
94	logevent.cc \
95	logevent.h \
96	misc.cc \
97	mstring.cc \
98	mstring.h \
99	objmenu.cc \
100	objmenu.h \
101	prefs.h \
102	ref.cc \
103	ref.h \
104	sysdep.h \
105	themable.h \
106	udir.cc \
107	udir.h \
108	upath.cc \
109	upath.h \
110	wmmgr.h \
111	wmprog.h \
112	workspaces.h \
113	yaction.h \
114	yapp.cc \
115	yapp.h \
116	yarray.cc \
117	yarray.h \
118	ybidi.h \
119	ycolor.cc \
120	ycolor.h \
121	yconfig.cc \
122	yconfig.h \
123	ycursor.cc \
124	ycursor.h \
125	yfileio.cc \
126	yfileio.h \
127	yfont.cc \
128	yfontbase.h \
129	yfontcache.h \
130	yfontcore.cc \
131	fontmacro.h \
132	yfontname.h \
133	yfontxft.cc \
134	yfull.h \
135	yimage.h \
136	yimage2.cc \
137	yimage2.h \
138	yimage_gdk.cc \
139	ykey.h \
140	ylayout.h \
141	ylib.h \
142	ylist.h \
143	ylocale.cc \
144	ylocale.h \
145	ymenu.h \
146	ymsgbox.h \
147	ypaint.cc \
148	ypaint.h \
149	ypipereader.cc \
150	ypipereader.h \
151	ypixmap.cc \
152	ypixmap.h \
153	ypointer.h \
154	ypoll.h \
155	ypopup.cc \
156	ypopup.h \
157	yprefs.cc \
158	yprefs.h \
159	yrect.h \
160	ysocket.cc \
161	ysocket.h \
162	ystring.cc \
163	ystring.h \
164	ysvg.cc \
165	ytime.cc \
166	ytime.h \
167	ytimer.cc \
168	ytimer.h \
169	ytooltip.cc \
170	ytooltip.h \
171	ytrace.h \
172	ywindow.cc \
173	ywindow.h \
174	ywordexp.h \
175	yxapp.cc \
176	yxapp.h \
177	yxcontext.h \
178	yxembed.cc \
179	yxembed.h \
180	yximage.cc
181
182libitk_la_SOURCES = \
183	WinMgr.h \
184	applet.h \
185	appnames.h \
186	ascii.h \
187	base.h \
188	bindkey.h \
189	debug.h \
190	default.h \
191	globit.cc \
192	globit.h \
193	intl.h \
194	logevent.h \
195	mstring.h \
196	prefs.h \
197	ref.h \
198	sysdep.h \
199	themable.h \
200	udir.h \
201	upath.h \
202	wmaction.h \
203	wmclient.h \
204	wmconfig.cc \
205	wmconfig.h \
206	wmmgr.h \
207	wmoption.h \
208	wmsave.cc \
209	wmsave.h \
210	wmtaskbar.h \
211	workspaces.h \
212	wpixmaps.h \
213	wpixres.cc \
214	wpixres.h \
215	yaction.h \
216	yapp.h \
217	yarray.h \
218	ybutton.cc \
219	ybutton.h \
220	ycolor.h \
221	yconfig.h \
222	ycursor.h \
223	yfull.h \
224	yicon.cc \
225	yicon.h \
226	yimage.h \
227	yinputline.cc \
228	yinputline.h \
229	ykey.h \
230	ylabel.cc \
231	ylabel.h \
232	ylayout.h \
233	ylib.h \
234	ylist.h \
235	ylistbox.cc \
236	ylistbox.h \
237	ymenu.cc \
238	ymenu.h \
239	ymenuitem.cc \
240	ymenuitem.h \
241	ymsgbox.h \
242	ypaint.h \
243	ypixmap.h \
244	ypointer.h \
245	ypoll.h \
246	ypopup.h \
247	yprefs.h \
248	yrect.h \
249	yscrollbar.cc \
250	yscrollbar.h \
251	yscrollview.cc \
252	yscrollview.h \
253	ytime.h \
254	ytimer.h \
255	ytrace.h \
256	ywindow.h \
257	ywordexp.h \
258	yxapp.h \
259	yxtray.h
260libitk_la_LIBADD = libice.la
261
262genpref_SOURCES = \
263	base.h \
264	ascii.h \
265	appnames.h \
266	ykey.h \
267	sysdep.h \
268	yprefs.h \
269	bindkey.h \
270	default.h \
271	themable.h \
272	icewmbg_prefs.h \
273	genpref.cc
274genpref_LDADD = libice.la @LIBINTL@
275
276icewm_SOURCES = \
277	intl.h \
278	debug.h \
279	sysdep.h \
280	base.h \
281	bindkey.h \
282	themable.h \
283	default.h \
284	prefs.h \
285	obj.h \
286	yaction.h \
287	yinputline.h \
288	yactionbutton.h \
289	objmenu.h \
290	objbutton.h \
291	objbutton.cc \
292	WinMgr.h \
293	ypoll.h \
294	ylib.h \
295	ymsgbox.cc \
296	ymsgbox.h \
297	ydialog.cc \
298	ydialog.h \
299	binascii.h \
300	yurl.cc \
301	yurl.h \
302	yrect.h \
303	wmsession.cc \
304	wmsession.h \
305	wmwinlist.cc \
306	wmwinlist.h \
307	wmtaskbar.cc \
308	wmtaskbar.h \
309	wmwinmenu.cc \
310	wmwinmenu.h \
311	wmdialog.cc \
312	wmdialog.h \
313	wmabout.cc \
314	wmabout.h \
315	wmswitch.cc \
316	wmswitch.h \
317	wmstatus.cc \
318	wmstatus.h \
319	wmoption.cc \
320	wmoption.h \
321	wmaction.h \
322	wmcontainer.cc \
323	wmcontainer.h \
324	wmclient.cc \
325	MwmUtil.h \
326	wmclient.h \
327	wmdock.cc \
328	wmdock.h \
329	wmmgr.cc \
330	wmmgr.h \
331	workspaces.h \
332	appnames.h \
333	guievent.h \
334	wmapp.cc \
335	wmapp.h \
336	wmframe.cc \
337	wmframe.h \
338	wmbutton.cc \
339	wmbutton.h \
340	wmminiicon.cc \
341	wmminiicon.h \
342	wmtitle.cc \
343	wmtitle.h \
344	movesize.cc \
345	ascii.h \
346	themes.cc \
347	themes.h \
348	decorate.cc \
349	browse.cc \
350	browse.h \
351	wmmenu.cc \
352	wmprog.cc \
353	wmprog.h \
354	wmpref.cc \
355	wmpref.h \
356	atasks.cc \
357	atasks.h \
358	aworkspaces.cc \
359	aworkspaces.h \
360	amailbox.cc \
361	amailbox.h \
362	akeyboard.cc \
363	akeyboard.h \
364	aclock.cc \
365	aclock.h \
366	acpustatus.cc \
367	acpustatus.h \
368	amemstatus.cc \
369	amemstatus.h \
370	applet.cc \
371	applet.h \
372	apppstatus.cc \
373	apppstatus.h \
374	aaddressbar.cc \
375	aaddressbar.h \
376	objbar.cc \
377	objbar.h \
378	aapm.cc \
379	aapm.h \
380	atray.cc \
381	atray.h \
382	ysmapp.cc \
383	ysmapp.h \
384	yxcontext.h \
385	yxtray.cc \
386	yxtray.h
387icewm_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(XSM_LIBS) $(CORE_LIBS)
388
389icesh_SOURCES = \
390	intl.h \
391	ascii.h \
392	debug.h \
393	base.h \
394	MwmUtil.h \
395	WinMgr.h \
396	guievent.h \
397	logevent.h \
398	wmaction.h \
399	ypointer.h \
400	ytime.h \
401	yrect.h \
402	icesh.cc
403icesh_LDADD = libice.la $(X_LIBS) $(RANDR_LIBS) $(XINERAMA_LIBS) -lX11 @LIBINTL@
404
405icewm_session_SOURCES = \
406	appnames.h \
407	base.h \
408	debug.h \
409	intl.h \
410	sysdep.h \
411	yapp.h \
412	ytime.h \
413	ytimer.h \
414	icesm.cc
415icewm_session_LDADD = libice.la $(X_LIBS) -lX11 @LIBINTL@
416
417icewmhint_SOURCES = \
418	intl.h \
419	debug.h \
420	base.h \
421	icewmhint.cc
422icewmhint_LDADD = libice.la $(CORE_LIBS) @LIBINTL@
423
424icewmbg_SOURCES = \
425	intl.h \
426	debug.h \
427	base.h \
428	themable.h \
429	default.h \
430	yxapp.h \
431	yprefs.h \
432	icewmbg.cc \
433	icewmbg_prefs.h
434icewmbg_LDADD = libice.la $(IMAGE_LIBS) $(CORE_LIBS) @LIBINTL@
435
436icesound_SOURCES = \
437	base.h \
438	debug.h \
439	guievent.h \
440	intl.h \
441	upath.h \
442	ypointer.h \
443	ytime.h \
444	ytimer.h \
445	icesound.cc
446icesound_LDADD = libice.la $(AUDIO_LIBS) $(CORE_LIBS) @LIBINTL@
447
448icewm_menu_fdo_SOURCES = \
449	appnames.h \
450	base.h \
451	debug.h \
452	fdospecgen.h \
453	intl.h \
454	sysdep.h \
455	yarray.h \
456	ycollections.cc \
457	ycollections.h \
458	sysdep.h \
459	fdomenu.cc
460icewm_menu_fdo_LDADD = libice.la $(GIO_LIBS)
461
462icehelp_SOURCES = \
463	intl.h \
464	debug.h \
465	sysdep.h \
466	base.h \
467	ascii.h \
468	bindkey.h \
469	themable.h \
470	default.h \
471	prefs.h \
472	yaction.h \
473	ylib.h \
474	yrect.h \
475	icehelp.cc
476icehelp_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS) @LIBINTL@
477
478iceclock_SOURCES = \
479	intl.h \
480	debug.h \
481	sysdep.h \
482	base.h \
483	iceclock.cc \
484	bindkey.h \
485	themable.h \
486	default.h \
487	prefs.h \
488	applet.cc \
489	applet.h \
490	aclock.cc \
491	aclock.h
492iceclock_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS) @LIBINTL@
493
494strtest_SOURCES = \
495	base.h \
496	udir.h \
497	upath.h \
498	strtest.cc \
499	mstring.h
500strtest_LDADD = libice.la
501
502icewmtray_SOURCES = \
503	intl.h \
504	debug.h \
505	sysdep.h \
506	base.h \
507	bindkey.h \
508	themable.h \
509	default.h \
510	prefs.h \
511	yxtray.cc \
512	yxtray.h \
513	wmoption.cc \
514	wmoption.h \
515	ylib.h \
516	icetray.cc
517icewmtray_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
518
519icesame_SOURCES = \
520	intl.h \
521	debug.h \
522	sysdep.h \
523	base.h \
524	MwmUtil.h \
525	yaction.h \
526	yrect.h \
527	ykey.h \
528	yfull.h \
529	icesame.cc
530icesame_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
531
532icelist_SOURCES = \
533	intl.h \
534	debug.h \
535	sysdep.h \
536	base.h \
537	yaction.h \
538	yinputline.h \
539	yrect.h \
540	ykey.h \
541	yfull.h \
542	icelist.cc
543icelist_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
544
545iceview_SOURCES = \
546	intl.h \
547	debug.h \
548	sysdep.h \
549	base.h \
550	bindkey.h \
551	themable.h \
552	default.h \
553	prefs.h \
554	yaction.h \
555	ylib.h \
556	yrect.h \
557	iceview.cc
558iceview_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
559
560iceicon_SOURCES = \
561	intl.h \
562	debug.h \
563	sysdep.h \
564	base.h \
565	yaction.h \
566	ylib.h \
567	yrect.h \
568	iceicon.cc
569iceicon_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
570
571icerun_SOURCES = \
572	intl.h \
573	debug.h \
574	sysdep.h \
575	base.h \
576	bindkey.h \
577	themable.h \
578	default.h \
579	prefs.h \
580	yaction.h \
581	yinputline.h \
582	icerun.cc
583icerun_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
584
585iceskt_SOURCES = \
586	intl.h \
587	debug.h \
588	sysdep.h \
589	base.h \
590	iceskt.cc
591iceskt_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
592
593testmenus_SOURCES = \
594	intl.h \
595	debug.h \
596	sysdep.h \
597	base.h \
598	obj.h \
599	yaction.h \
600	testmenus.cc \
601	bindkey.h \
602	themable.h \
603	default.h \
604	prefs.h \
605	wmmenu.cc \
606	wmprog.cc \
607	wmprog.h \
608	wmaction.h \
609	ascii.h \
610	themes.cc \
611	themes.h \
612	browse.cc \
613	browse.h
614testmenus_LDADD = libitk.la libice.la $(IMAGE_LIBS) $(CORE_LIBS)
615
616testwinhints_SOURCES = \
617	intl.h \
618	debug.h \
619	sysdep.h \
620	base.h \
621	WinMgr.h \
622	testwinhints.cc
623testwinhints_LDFLAGS = $(CORE_LIBS)
624
625testnetwmhints_SOURCES = \
626	intl.h \
627	debug.h \
628	sysdep.h \
629	base.h \
630	WinMgr.h \
631	testnetwmhints.cc
632testnetwmhints_LDFLAGS = libice.la $(CORE_LIBS)
633
634testmap_SOURCES = \
635	intl.h \
636	debug.h \
637	sysdep.h \
638	base.h \
639	WinMgr.h \
640	testmap.cc
641testmap_LDFLAGS = libice.la $(CORE_LIBS)
642
643testlocale_SOURCES = \
644	intl.h \
645	debug.h \
646	sysdep.h \
647	base.h \
648	ylib.h \
649	testlocale.cc
650testlocale_LDADD = libice.la $(CORE_LIBS) @LIBINTL@
651
652testarray_SOURCES = \
653	mstring.h \
654	yarray.h \
655	base.h \
656	ypointer.h \
657	testarray.cc
658testarray_LDADD = libice.la @LIBINTL@
659
660testpointer_SOURCES = \
661	ypointer.h \
662	testpointer.cc
663
664nodist_pkgdata_DATA = \
665	preferences
666
667preferences: genpref$(EXEEXT)
668	$(AM_V_GEN)./genpref$(EXEEXT) -o $@ -s
669
670CLEANFILES = preferences strtest testarray testpointer
671
672