source: trunk/essentials/app-arch/cpio/lib/Makefile.tmpl

Last change on this file was 3332, checked in by bird, 18 years ago

cpio 2.7

File size: 1.6 KB
Line 
1# Makefile for GNU cpio library.
2
3# Copyright (C) 2004, 2005 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., 51 Franklin Street, Fifth Floor, Boston, MA
18## 02110-1301, USA.
19
20noinst_LIBRARIES = libcpio.a
21noinst_HEADERS = system.h system-ioctl.h localedir.h rmt.h paxlib.h
22libcpio_a_SOURCES = fatal.c rtapelib.c paxerror.c paxexit.c paxconvert.c paxnames.c
23
24EXTRA_DIST=Makefile.tmpl bcopy.c mkdir.c strdup.c strerror.c
25
26localedir = $(datadir)/locale
27
28DISTCLEANFILES = localedir.h
29localedir.h : Makefile
30 echo '#define LOCALEDIR "$(localedir)"' >$@
31 echo "#ifndef DEFAULT_RMT_COMMAND" >> $@
32 echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@
33 echo "#endif" >> $@
34
35libcpio_a_LIBADD = $(LIBOBJS) $(ALLOCA)
36libcpio_a_DEPENDENCIES = $(libcpio_a_LIBADD)
37
38rtapelib.o: localedir.h
39
40AM_CPPFLAGS =
41BUILT_SOURCES =
42MAINTAINERCLEANFILES =
43MOSTLYCLEANFILES =
44lib_OBJECTS = $(libcpio_a_OBJECTS)
45
46# gnulib modules
47
Note: See TracBrowser for help on using the repository browser.