Changeset 909c4ae in freewrt for tools


Ignore:
Timestamp:
Jul 16, 2006, 7:11:33 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
882ed8cc
Parents:
c7b6787
Message:

start compiling this stuff on GNU/Linux

  • no vis(3)
  • no RCSID() etc. macros, implement these in scripts/param.h

git-svn-id: svn://www.freewrt.org/trunk/freewrt@211 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
tools/paxmirabilis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/paxmirabilis/Makefile

    rc7b6787 r909c4ae  
    22
    33WRKBUILD=       $(TOOLS_BUILD_DIR)/paxmirabilis
     4
     5OUR_FLAGS=      -I${TOPDIR}/scripts \
     6                -include ${TOPDIR}/scripts/param.h
    47
    58SRCS=           src/ar_io.c \
     
    3841
    3942${WRKBUILD}/pax: ${SRCS}
    40         ${HOSTCC} ${HOSTCFLAGS} -Isrc -I${TOPDIR}/scripts -o $@ $^
     43        ${HOSTCC} ${HOSTCFLAGS} -Isrc ${OUR_FLAGS} -o $@ $^
  • tools/paxmirabilis/src/gen_subs.c

    rc7b6787 r909c4ae  
    5050#include <stdlib.h>
    5151#include <string.h>
     52#ifdef BSD
    5253#include <vis.h>
     54#endif
    5355#include "pax.h"
    5456#include "extern.h"
     
    197199safe_print(const char *str, FILE *fp)
    198200{
     201#ifdef BSD
    199202        char visbuf[5];
    200203        const char *cp;
     
    208211                        (void)fputs(visbuf, fp);
    209212                }
    210         } else {
     213        } else
     214#endif
    211215                (void)fputs(str, fp);
    212         }
    213216}
    214217
Note: See TracChangeset for help on using the changeset viewer.