debian: Fix maintainer email address.
[xtoys] / Makefile.am
index 10b4835..b724114 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1998/11/16 23:00:49 mdw Exp $
+## $Id$
 ##
 ## 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.1  1998/11/16 23:00:49  mdw
-## Initial versions.
-##
-
 AUTOMAKE_OPTIONS = foreign
 
+GTK_PROGS = \
+       xshutdown$(EXEEXT) xgetline$(EXEEXT) xcatch$(EXEEXT) xmsg$(EXEEXT)
 bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@
-EXTRA_PROGRAMS = xshutdown xgetline
-man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1
-EXTRA_DIST = $(man_MANS)
+EXTRA_PROGRAMS = xshutdown xgetline xcatch xmsg
+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
 
-xshutdown_SOURCES = xshutdown.c xwait.h mdwopt.c mdwopt.h
-xshutdown_LDADD = @GTK_LIBS@
+CLEANFILES = $(GTK_PROGS)
 
-xgetline_SOURCES = xgetline.c mdwopt.c mdwopt.h
-xgetline_LDADD = @GTK_LIBS@
+xshutdown_SOURCES = xshutdown.c xwait.h xatom.c xatom.h
+xshutdown_LDADD = @MGLIB_LIBS@ @GTK_LIBS@
 
-xwait_SOURCES = xwait.c xwait.h
+xcatch_SOURCES = xcatch.c
+xcatch_LDADD = @MGLIB_LIBS@ @GTK_LIBS@
+
+xgetline_SOURCES = xgetline.c
+xgetline_LDADD = @MGLIB_LIBS@ @GTK_LIBS@
+
+xwait_SOURCES = xwait.c xwait.h xatom.c xatom.h
 xwait_LDADD = @X_LIBS@ -lX11
 
-xtell_SOURCES = xtell.c xwait.h
+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