90b2c5d4 |
1 | ## -*-makefile-*- |
2 | ## |
21f1d04d |
3 | ## $Id$ |
90b2c5d4 |
4 | ## |
5 | ## Makefile for X tools |
6 | ## |
7 | ## (c) 1998 Straylight/Edgeware |
8 | ## |
9 | |
10 | ##----- Licensing notice ---------------------------------------------------- |
11 | ## |
12 | ## This file is part of the Edgeware X tools collection. |
13 | ## |
14 | ## X tools is free software; you can redistribute it and/or modify |
15 | ## it under the terms of the GNU General Public License as published by |
16 | ## the Free Software Foundation; either version 2 of the License, or |
17 | ## (at your option) any later version. |
18 | ## |
19 | ## X tools is distributed in the hope that it will be useful, |
20 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | ## GNU General Public License for more details. |
23 | ## |
24 | ## You should have received a copy of the GNU General Public License |
25 | ## along with X tools; if not, write to the Free Software Foundation, |
26 | ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
27 | |
90b2c5d4 |
28 | AUTOMAKE_OPTIONS = foreign |
29 | |
21f1d04d |
30 | GTK_PROGS = \ |
31 | xshutdown$(EXEEXT) xgetline$(EXEEXT) xcatch$(EXEEXT) xmsg$(EXEEXT) |
90b2c5d4 |
32 | bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@ |
21f1d04d |
33 | EXTRA_PROGRAMS = xshutdown xgetline xcatch xmsg |
2b6e1eca |
34 | man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1 xcatch.1 xmsg.1 |
03dcdca5 |
35 | EXTRA_DIST = \ |
36 | $(man_MANS) \ |
37 | debian/rules debian/copyright debian/control debian/changelog |
90b2c5d4 |
38 | |
3d144660 |
39 | CLEANFILES = $(GTK_PROGS) |
40 | |
23fd6ea3 |
41 | xshutdown_SOURCES = xshutdown.c xwait.h xatom.c xatom.h |
d5419f6c |
42 | xshutdown_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
90b2c5d4 |
43 | |
07ba26fa |
44 | xcatch_SOURCES = xcatch.c |
d5419f6c |
45 | xcatch_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
07ba26fa |
46 | |
6930fe78 |
47 | xgetline_SOURCES = xgetline.c |
d5419f6c |
48 | xgetline_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
90b2c5d4 |
49 | |
23fd6ea3 |
50 | xwait_SOURCES = xwait.c xwait.h xatom.c xatom.h |
d5419f6c |
51 | xwait_LDADD = @X_LIBS@ -lX11 |
90b2c5d4 |
52 | |
23fd6ea3 |
53 | xtell_SOURCES = xtell.c xwait.h xatom.c xatom.h |
d5419f6c |
54 | xtell_LDADD = @X_LIBS@ -lX11 |
90b2c5d4 |
55 | |
2b6e1eca |
56 | xmsg_SOURCES = xmsg.c |
57 | xmsg_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
58 | |
90b2c5d4 |
59 | xscsize_SOURCES = xscsize.c |
d5419f6c |
60 | xscsize_LDADD = @X_LIBS@ -lX11 |
90b2c5d4 |
61 | |
62 | ##----- That's all, folks --------------------------------------------------- |