Improve signal handling. Fix options parsing to POSIX order only.
[xtoys] / Makefile.am
... / ...
CommitLineData
1## -*-makefile-*-
2##
3## $Id: Makefile.am,v 1.6 1999/03/25 23:37:20 mdw Exp $
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 $
31## Revision 1.6 1999/03/25 23:37:20 mdw
32## Remove absolute dependence on GTK.
33##
34## Revision 1.5 1998/12/15 23:46:23 mdw
35## Add `xcatch', and rearrange so that the GTK-based programs are only
36## mentioned in the Makefile.
37##
38## Revision 1.4 1998/12/11 09:50:37 mdw
39## Recursively build and configure mLib and mgLib.
40##
41## Revision 1.3 1998/12/03 00:37:19 mdw
42## New file: mdwfocus.c
43##
44## Revision 1.2 1998/11/21 22:27:21 mdw
45## Change build structure a bit: put common code in a library.
46##
47## Revision 1.1 1998/11/16 23:00:49 mdw
48## Initial versions.
49##
50
51AUTOMAKE_OPTIONS = foreign
52
53SUBDIRS = mLib mgLib
54
55GTK_PROGS = xshutdown xgetline xcatch
56bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@
57EXTRA_PROGRAMS = $(GTK_PROGS)
58man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1 xcatch.1
59EXTRA_DIST = $(man_MANS)
60
61CLEANFILES = $(GTK_PROGS)
62
63INCLUDES = -I$(srcdir)/mLib
64LDADD = mgLib/libmgLib.a mLib/libmLib.a
65
66xshutdown_SOURCES = xshutdown.c xwait.h
67xshutdown_LDADD = $(LDADD) @GTK_LIBS@
68
69xcatch_SOURCES = xcatch.c
70xcatch_LDADD = $(LDADD) @GTK_LIBS@
71
72xgetline_SOURCES = xgetline.c
73xgetline_LDADD = $(LDADD) @GTK_LIBS@
74
75xwait_SOURCES = xwait.c xwait.h
76xwait_LDADD = $(LDADD) @X_LIBS@ -lX11
77
78xtell_SOURCES = xtell.c xwait.h
79xtell_LDADD = $(LDADD) @X_LIBS@ -lX11
80
81xscsize_SOURCES = xscsize.c
82xscsize_LDADD = $(LDADD) @X_LIBS@ -lX11
83
84##----- That's all, folks ---------------------------------------------------