Support GNU-style long options throughout, and introduce proper help
[xtoys] / Makefile.am
1 ## -*-makefile-*-
2 ##
3 ## $Id: Makefile.am,v 1.2 1998/11/21 22:27:21 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.2 1998/11/21 22:27:21 mdw
32 ## Change build structure a bit: put common code in a library.
33 ##
34 ## Revision 1.1 1998/11/16 23:00:49 mdw
35 ## Initial versions.
36 ##
37
38 AUTOMAKE_OPTIONS = foreign
39
40 noinst_LIBRARIES = libxtoys.a
41 libxtoys_a_SOURCES = mdwopt.c mdwopt.h quis.c quis.h
42 bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@
43 EXTRA_PROGRAMS = xshutdown xgetline
44 man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1
45 EXTRA_DIST = $(man_MANS)
46
47 xshutdown_SOURCES = xshutdown.c xwait.h
48 xshutdown_LDADD = libxtoys.a @GTK_LIBS@
49
50 xgetline_SOURCES = xgetline.c
51 xgetline_LDADD = libxtoys.a @GTK_LIBS@
52
53 xwait_SOURCES = xwait.c xwait.h
54 xwait_LDADD = libxtoys.a @X_LIBS@ -lX11
55
56 xtell_SOURCES = xtell.c xwait.h
57 xtell_LDADD = libxtoys.a @X_LIBS@ -lX11
58
59 xscsize_SOURCES = xscsize.c
60 xscsize_LDADD = libxtoys.a @X_LIBS@ -lX11
61
62 ##----- That's all, folks ---------------------------------------------------