source: trunk/essentials/sys-apps/diffutils/src/Makefile.am

Last change on this file was 2556, checked in by bird, 19 years ago

diffutils 2.8.1

File size: 1.5 KB
Line 
1# Automakefile for GNU diffutils programs.
2
3# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
4
5## This program is free software; you can redistribute it and/or modify
6## it under the terms of the GNU General Public License as published by
7## the Free Software Foundation; either version 2, or (at your option)
8## any later version.
9
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18## 02111-1307, USA.
19
20bin_PROGRAMS = cmp diff diff3 sdiff
21
22noinst_HEADERS = diff.h system.h
23
24localedir = $(datadir)/locale
25
26AM_CPPFLAGS = -I../lib -I$(top_srcdir)/lib
27DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
28
29LDADD = ../lib/libdiffutils.a @LIBINTL@
30diff_LDADD = $(LDADD) @LIB_CLOCK_GETTIME@
31
32cmp_SOURCES = cmp.c version.c
33diff3_SOURCES = diff3.c version.c
34sdiff_SOURCES = sdiff.c version.c
35diff_SOURCES = \
36 analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \
37 normal.c side.c util.c version.c
38
39MAINTAINERCLEANFILES = $(srcdir)/version.c
40
41$(srcdir)/version.c: $(top_srcdir)/configure.ac
42 (echo '#include <config.h>' && \
43 echo 'char const version_string[] = "(GNU $(PACKAGE)) $(VERSION)";') \
44 >$@
Note: See TracBrowser for help on using the repository browser.