## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.2 1999/04/07 21:11:01 mdw Exp $
+## $Id: Makefile.am,v 1.6 2004/04/08 01:36:22 mdw Exp $
##
## Makefile for chkpath
##
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
-##
+##
## chkpath is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
-##
+##
## You should have received a copy of the GNU General Public License
## 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.2 1999/04/07 21:11:01 mdw
-## Make sure path.h and the manpages get distributed.
-##
-## Revision 1.1.1.1 1999/04/06 20:12:07 mdw
-## Import new project.
-##
-
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)
+EXTRA_DIST = \
+ $(man_MANS) \
+ debian/control debian/copyright debian/changelog debian/rules
-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 ---------------------------------------------------