Home | History | Annotate | Line # | Download | only in lib
      1 # Automakefile for GNU Diffutils library.
      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 
     20 noinst_LIBRARIES = libdiffutils.a
     21 
     22 EXTRA_DIST = alloca.c fnmatch.c inttostr.c malloc.c memchr.c mkstemp.c \
     23   realloc.c regex.c strcasecmp.c strtoimax.c strtol.c tempname.c waitpid.c \
     24   xstrtol.c
     25 SUBDIRS = posix
     26 
     27 noinst_HEADERS = \
     28   c-stack.h cmpbuf.h dirname.h error.h exclude.h exitfail.h \
     29   fnmatch.hin freesoft.h getopt.h \
     30   gettext.h hard-locale.h inttostr.h prepargs.h posixver.h quotesys.h \
     31   regex.hin setmode.h unlocked-io.h xalloc.h xstrtol.h
     32 
     33 libdiffutils_a_SOURCES = \
     34   basename.c c-stack.c cmpbuf.c error.c exclude.c exitfail.c \
     35   freesoft.c getopt.c getopt1.c \
     36   hard-locale.c imaxtostr.c offtostr.c prepargs.c posixver.c quotesys.c \
     37   setmode.c strftime.c umaxtostr.c xmalloc.c xstrtoumax.c
     38 
     39 libdiffutils_a_LIBADD = @ALLOCA@ @LIBOBJS@
     40 libdiffutils_a_DEPENDENCIES = $(libdiffutils_a_LIBADD)
     41 
     42 DISTCLEANFILES = fnmatch.h fnmatch.hno regex.h regex.hno
     43