3 ### Makefile for chkpath
5 ### (c) 1999 Mark Wooding
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of chkpath.
12 ### chkpath is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU General Public License as published by
14 ### the Free Software Foundation; either version 2 of the License, or
15 ### (at your option) any later version.
17 ### chkpath is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU General Public License for more details.
22 ### You should have received a copy of the GNU General Public License
23 ### along with chkpath; if not, write to the Free Software Foundation,
24 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34 ###--------------------------------------------------------------------------
37 ## The library itself.
38 lib_LTLIBRARIES += libcheckpath.la
39 libcheckpath_la_SOURCES =
40 libcheckpath_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO)
41 libcheckpath_la_LIBADD = $(mLib_LIBS)
42 dist_man_MANS += checkpath.3
44 libcheckpath_la_SOURCES += checkpath.c
45 include_HEADERS += checkpath.h
47 ## Package description.
48 pkgconfigdir = $(libdir)/pkgconfig
49 pkgconfig_DATA = checkpath.pc
50 CLEANFILES += checkpath.pc
51 EXTRA_DIST += checkpath.pc.in
53 checkpath.pc: checkpath.pc.in Makefile
54 $(top_srcdir)/config/confsubst $(srcdir)/checkpath.pc.in >$@.new \
55 prefix=$(prefix) exec_prefix=$(exec_prefix) \
56 libdir=$(libdir) includedir=$(includedir) \
60 ###--------------------------------------------------------------------------
63 LDADD = libcheckpath.la $(mLib_LIBS)
66 bin_PROGRAMS += chkpath
67 dist_man_MANS += chkpath.1
70 bin_PROGRAMS += tmpdir
71 dist_man_MANS += tmpdir.1
73 ###--------------------------------------------------------------------------
74 ### Other finishing touches.
78 echo $(VERSION) >$(distdir)/RELEASE
81 EXTRA_DIST += config/confsubst
83 ###--------------------------------------------------------------------------
87 EXTRA_DIST += debian/rules
88 EXTRA_DIST += debian/copyright
89 EXTRA_DIST += debian/control
90 EXTRA_DIST += debian/changelog
93 EXTRA_DIST += debian/libcheckpath1.install
94 EXTRA_DIST += debian/libcheckpath-dev.install
97 EXTRA_DIST += debian/tmpdir.install
98 EXTRA_DIST += debian/chkpath.install
100 ###----- That's all, folks --------------------------------------------------