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