90b2c5d4 |
1 | ## -*-makefile-*- |
2 | ## |
03dcdca5 |
3 | ## $Id: Makefile.am,v 1.10 2003/11/10 10:01:52 mdw Exp $ |
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 | |
28 | ##----- Revision history ---------------------------------------------------- |
29 | ## |
30 | ## $Log: Makefile.am,v $ |
03dcdca5 |
31 | ## Revision 1.10 2003/11/10 10:01:52 mdw |
32 | ## Debianization\! |
33 | ## |
2b6e1eca |
34 | ## Revision 1.9 2002/01/13 14:42:30 mdw |
35 | ## New program to display messages and get answers. |
36 | ## |
d5419f6c |
37 | ## Revision 1.8 1999/11/11 19:50:13 mdw |
38 | ## Build separately from libraries. |
39 | ## |
23fd6ea3 |
40 | ## Revision 1.7 1999/08/20 07:32:23 mdw |
41 | ## New source file `atom.c'. |
42 | ## |
3d144660 |
43 | ## Revision 1.6 1999/03/25 23:37:20 mdw |
44 | ## Remove absolute dependence on GTK. |
45 | ## |
07ba26fa |
46 | ## Revision 1.5 1998/12/15 23:46:23 mdw |
47 | ## Add `xcatch', and rearrange so that the GTK-based programs are only |
48 | ## mentioned in the Makefile. |
49 | ## |
6930fe78 |
50 | ## Revision 1.4 1998/12/11 09:50:37 mdw |
51 | ## Recursively build and configure mLib and mgLib. |
52 | ## |
3cb11cac |
53 | ## Revision 1.3 1998/12/03 00:37:19 mdw |
54 | ## New file: mdwfocus.c |
55 | ## |
e6df3b1d |
56 | ## Revision 1.2 1998/11/21 22:27:21 mdw |
57 | ## Change build structure a bit: put common code in a library. |
58 | ## |
90b2c5d4 |
59 | ## Revision 1.1 1998/11/16 23:00:49 mdw |
60 | ## Initial versions. |
61 | ## |
62 | |
63 | AUTOMAKE_OPTIONS = foreign |
64 | |
2b6e1eca |
65 | GTK_PROGS = xshutdown xgetline xcatch xmsg |
90b2c5d4 |
66 | bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@ |
07ba26fa |
67 | EXTRA_PROGRAMS = $(GTK_PROGS) |
2b6e1eca |
68 | man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1 xcatch.1 xmsg.1 |
03dcdca5 |
69 | EXTRA_DIST = \ |
70 | $(man_MANS) \ |
71 | debian/rules debian/copyright debian/control debian/changelog |
90b2c5d4 |
72 | |
3d144660 |
73 | CLEANFILES = $(GTK_PROGS) |
74 | |
23fd6ea3 |
75 | xshutdown_SOURCES = xshutdown.c xwait.h xatom.c xatom.h |
d5419f6c |
76 | xshutdown_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
90b2c5d4 |
77 | |
07ba26fa |
78 | xcatch_SOURCES = xcatch.c |
d5419f6c |
79 | xcatch_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
07ba26fa |
80 | |
6930fe78 |
81 | xgetline_SOURCES = xgetline.c |
d5419f6c |
82 | xgetline_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
90b2c5d4 |
83 | |
23fd6ea3 |
84 | xwait_SOURCES = xwait.c xwait.h xatom.c xatom.h |
d5419f6c |
85 | xwait_LDADD = @X_LIBS@ -lX11 |
90b2c5d4 |
86 | |
23fd6ea3 |
87 | xtell_SOURCES = xtell.c xwait.h xatom.c xatom.h |
d5419f6c |
88 | xtell_LDADD = @X_LIBS@ -lX11 |
90b2c5d4 |
89 | |
2b6e1eca |
90 | xmsg_SOURCES = xmsg.c |
91 | xmsg_LDADD = @MGLIB_LIBS@ @GTK_LIBS@ |
92 | |
90b2c5d4 |
93 | xscsize_SOURCES = xscsize.c |
d5419f6c |
94 | xscsize_LDADD = @X_LIBS@ -lX11 |
90b2c5d4 |
95 | |
96 | ##----- That's all, folks --------------------------------------------------- |