From: mdw Date: Sat, 21 Nov 1998 22:27:21 +0000 (+0000) Subject: Change build structure a bit: put common code in a library. X-Git-Tag: 1.0.2~4 X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/commitdiff_plain/e6df3b1d1af68d556d12da7e6ba05215aaefe40b Change build structure a bit: put common code in a library. --- diff --git a/Makefile.am b/Makefile.am index 10b4835..e7411e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.1 1998/11/16 23:00:49 mdw Exp $ +## $Id: Makefile.am,v 1.2 1998/11/21 22:27:21 mdw Exp $ ## ## Makefile for X tools ## @@ -28,30 +28,35 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.am,v $ +## 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 +noinst_LIBRARIES = libxtoys.a +libxtoys_a_SOURCES = mdwopt.c mdwopt.h quis.c quis.h 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) -xshutdown_SOURCES = xshutdown.c xwait.h mdwopt.c mdwopt.h -xshutdown_LDADD = @GTK_LIBS@ +xshutdown_SOURCES = xshutdown.c xwait.h +xshutdown_LDADD = libxtoys.a @GTK_LIBS@ -xgetline_SOURCES = xgetline.c mdwopt.c mdwopt.h -xgetline_LDADD = @GTK_LIBS@ +xgetline_SOURCES = xgetline.c +xgetline_LDADD = libxtoys.a @GTK_LIBS@ xwait_SOURCES = xwait.c xwait.h -xwait_LDADD = @X_LIBS@ -lX11 +xwait_LDADD = libxtoys.a @X_LIBS@ -lX11 xtell_SOURCES = xtell.c xwait.h -xtell_LDADD = @X_LIBS@ -lX11 +xtell_LDADD = libxtoys.a @X_LIBS@ -lX11 xscsize_SOURCES = xscsize.c -xscsize_LDADD = @X_LIBS@ -lX11 +xscsize_LDADD = libxtoys.a @X_LIBS@ -lX11 ##----- That's all, folks ---------------------------------------------------