Make guts into official library.
[checkpath] / Makefile.am
index 869726e..b08ae56 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.4 2003/01/25 23:58:44 mdw Exp $
 ##
 ## Makefile for chkpath
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
-## Revision 1.1  1999/04/06 20:12:07  mdw
-## Initial revision
+## 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.
+##
+## 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)
 
-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 ---------------------------------------------------