xatom: Overhaul xwait/xtell into a single program with subcommands.
[xtoys] / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Makefile for X tools
4 ###
5 ### (c) 1998 Straylight/Edgeware
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This file is part of the Edgeware X tools collection.
11 ###
12 ### X tools is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU General Public License as published by
14 ### the Free Software Foundation; either version 2 of the License, or
15 ### (at your option) any later version.
16 ###
17 ### X tools is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU General Public License for more details.
21 ###
22 ### You should have received a copy of the GNU General Public License
23 ### along with X tools; if not, write to the Free Software Foundation,
24 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26 bin_PROGRAMS =
27 bin_SCRIPTS =
28 dist_man_MANS =
29 EXTRA_DIST =
30 CLEANFILES =
31
32 ###--------------------------------------------------------------------------
33 ### Distribution arrangements.
34
35 dist-hook::
36 echo $(VERSION) >$(distdir)/RELEASE
37
38 ###--------------------------------------------------------------------------
39 ### Simple tools in C.
40
41 AM_CFLAGS = $(X_CFLAGS)
42 LDADD = -lX11 $(X_LIBS)
43
44 ## xscsize
45 bin_PROGRAMS += xscsize
46 dist_man_MANS += xscsize.1
47 xscsize_SOURCES =
48
49 xscsize_SOURCES += xscsize.c
50
51 ## xatom
52 bin_PROGRAMS += xatom
53 dist_man_MANS += xatom.1
54 xatom_SOURCES =
55
56 xatom_SOURCES += xatom.c
57 xatom_SOURCES += libxatom.h libxatom.c
58
59 ###--------------------------------------------------------------------------
60 ### Debian.
61
62 EXTRA_DIST += debian/rules
63 EXTRA_DIST += debian/control
64 EXTRA_DIST += debian/copyright
65 EXTRA_DIST += debian/changelog
66
67 EXTRA_DIST += debian/xtoys.install
68
69 ###----- That's all, folks --------------------------------------------------