## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.3 1999/11/11 19:10:52 mdw Exp $
+## $Id: Makefile.am,v 1.4 2003/01/25 23:58:44 mdw Exp $
##
## Makefile for chkpath
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.4 2003/01/25 23:58:44 mdw
+## Make guts into official library.
+##
## Revision 1.3 1999/11/11 19:10:52 mdw
## Build separately from mLib.
##
AUTOMAKE_OPTIONS = foreign
+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
+man_MANS = chkpath.1 tmpdir.1 checkpath.3
EXTRA_DIST = $(man_MANS)
-chkpath_SOURCES = chkpath.c path.c path.h
-tmpdir_SOURCES = tmpdir.c path.c path.h
+chkpath_SOURCES = chkpath.c
+tmpdir_SOURCES = tmpdir.c
+LDADD = libcheckpath.la
##----- That's all, folks ---------------------------------------------------