English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/tools/paxmirabilis/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3816 - (show annotations) (download)
Wed Oct 29 17:58:40 2008 UTC (5 years, 3 months ago) by tg
File size: 934 byte(s)
FreeWRT trunk:

• merge new MirCPIO upstream, changes:
  – allow multiple -v options not only for tar but also for cpio, pax
  – add code to work around broken archives such as the CPIO archive inside
    Fedora Core 4 glibc-common-2.3.6-3.i386.rpm which carry the actual data
    of hardlinks not in the first but a later (here, the last) occurence of
    the file in question: iff hardlinking succeeds (no cross-device!), size
    of the linked files is 0, size of the archive member is greater than 0,
    we are extracting, but not to stdout, proceed writing out the data.
• add mircpio, mirpax, mirtar links in order to prevent interfering with
  native tools when both are in $PATH (this has worked since the last
  update, can be used now)

FreeWRT 1.0-stable:

• merge paxmirabilis complete from trunk

note: untested

1 # $MirOS: src/bin/pax/Makefile,v 1.6 2008/05/07 13:50:21 tg Exp $
2 # $OpenBSD: Makefile,v 1.10 2001/05/26 00:32:20 millert Exp $
3
4 # To install on versions prior to BSD 4.4 the following may have to be
5 # defined with CFLAGS +=
6 #
7 # -DLONG_OFF_T Define this if the base type of an off_t is a long (and is
8 # NOT a quad). (This is often defined in the file
9 # /usr/include/sys/types.h).
10 # This define is important, as if you do have a quad_t
11 # off_t and define LONG_OFF_T, pax will compile but will
12 # NOT RUN PROPERLY.
13 #
14
15 PROG= pax
16 SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c\
17 gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c\
18 tar.c tty_subs.c
19 MAN= pax.1 tar.1 cpio.1
20 LINKS= ${BINDIR}/pax ${BINDIR}/tar \
21 ${BINDIR}/pax ${BINDIR}/cpio
22
23 .if (${MACHINE_OS} == "Interix") || (${MACHINE_OS} == "Linux") || (${MACHINE_OS} == "GNU")
24 CPPFLAGS+= -DLONG_OFF_T
25 .endif
26
27 .include <bsd.prog.mk>

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20