## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.8 1999/11/11 19:50:13 mdw Exp $
+## $Id: Makefile.am,v 1.11 2004/04/08 01:36:29 mdw Exp $
##
## Makefile for X tools
##
## along with X tools; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.8 1999/11/11 19:50:13 mdw
-## Build separately from libraries.
-##
-## Revision 1.7 1999/08/20 07:32:23 mdw
-## New source file `atom.c'.
-##
-## Revision 1.6 1999/03/25 23:37:20 mdw
-## Remove absolute dependence on GTK.
-##
-## Revision 1.5 1998/12/15 23:46:23 mdw
-## Add `xcatch', and rearrange so that the GTK-based programs are only
-## mentioned in the Makefile.
-##
-## Revision 1.4 1998/12/11 09:50:37 mdw
-## Recursively build and configure mLib and mgLib.
-##
-## Revision 1.3 1998/12/03 00:37:19 mdw
-## New file: mdwfocus.c
-##
-## Revision 1.2 1998/11/21 22:27:21 mdw
-## Change build structure a bit: put common code in a library.
-##
-## Revision 1.1 1998/11/16 23:00:49 mdw
-## Initial versions.
-##
-
AUTOMAKE_OPTIONS = foreign
-GTK_PROGS = xshutdown xgetline xcatch
+GTK_PROGS = xshutdown xgetline xcatch xmsg
bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@
EXTRA_PROGRAMS = $(GTK_PROGS)
-man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1 xcatch.1
-EXTRA_DIST = $(man_MANS)
+man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1 xcatch.1 xmsg.1
+EXTRA_DIST = \
+ $(man_MANS) \
+ debian/rules debian/copyright debian/control debian/changelog
CLEANFILES = $(GTK_PROGS)
xtell_SOURCES = xtell.c xwait.h xatom.c xatom.h
xtell_LDADD = @X_LIBS@ -lX11
+xmsg_SOURCES = xmsg.c
+xmsg_LDADD = @MGLIB_LIBS@ @GTK_LIBS@
+
xscsize_SOURCES = xscsize.c
xscsize_LDADD = @X_LIBS@ -lX11