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