tmpdir: Allow trusting of particular groups.
[checkpath] / Makefile.am
index 869726e..0a6813d 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1999/04/06 20:12:07 mdw Exp $
+## $Id: Makefile.am,v 1.6 2004/04/08 01:36:22 mdw Exp $
 ##
 ## Makefile for chkpath
 ##
 ## along with chkpath; 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  1999/04/06 20:12:07  mdw
-## Initial revision
-##
-
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = mLib
+lib_LTLIBRARIES = libcheckpath.la
+libcheckpath_la_LDFLAGS = -version-info 2:0:1
+## Middle number is the patchlevel.  Final number is the minor version.  The
+## difference between the first and last numbers is the major version.
+libcheckpath_la_SOURCES = checkpath.c
+include_HEADERS = checkpath.h
 
+bin_SCRIPTS = checkpath-config
 bin_PROGRAMS = chkpath tmpdir
-man_MANS = chkpath.1 tmpdir.1
-INCLUDES = -I$(srcdir)/mLib
-LDADD = mLib/libmLib.a
+man_MANS = chkpath.1 tmpdir.1 checkpath.3
+
+EXTRA_DIST = \
+       $(man_MANS) \
+       debian/control debian/copyright debian/changelog debian/rules
 
-chkpath_SOURCES = chkpath.c path.c
-tmpdir_SOURCES = tmpdir.c path.c
+chkpath_SOURCES = chkpath.c
+tmpdir_SOURCES = tmpdir.c
+LDADD = libcheckpath.la
 
 ##----- That's all, folks ---------------------------------------------------