Changeset c79290a in rtems-libbsd for libbsd_waf.py


Ignore:
Timestamp:
Jul 5, 2016, 2:08:38 PM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
7f86f6a
Parents:
09ce54e
git-author:
Christian Mauderer <Christian.Mauderer@…> (07/05/16 14:08:38)
git-committer:
Christian Mauderer <Christian.Mauderer@…> (08/02/16 08:21:52)
Message:

pfctl: build files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd_waf.py

    r09ce54e rc79290a  
    195195    libbsd_use += ["yacc_pcap"]
    196196    if bld.env.AUTO_REGEN:
     197        bld(target = "freebsd/contrib/pf/pfctl/parse.c",
     198            source = "freebsd/contrib/pf/pfctl/parse.y",
     199            rule = host_shell + "${YACC} -b pfctly -d -p pfctly ${SRC} && sed -e '/YY_BUF_SIZE/s/16384/1024/' < pfctly.tab.c > ${TGT} && rm -f pfctly.tab.c && mv pfctly.tab.h freebsd/contrib/pf/pfctl/parse.h")
     200    bld.objects(target = "yacc_pfctly",
     201                features = "c",
     202                cflags = cflags,
     203                includes = [] + includes,
     204                defines = defines + [],
     205                source = "freebsd/contrib/pf/pfctl/parse.c")
     206    libbsd_use += ["yacc_pfctly"]
     207    if bld.env.AUTO_REGEN:
    197208        bld(target = "freebsd/lib/libc/net/nsparser.c",
    198209            source = "freebsd/lib/libc/net/nsparser.y",
     
    219230    # Objects built with different CFLAGS
    220231    objs01_source = ['freebsd/bin/hostname/hostname.c',
     232                     'freebsd/contrib/pf/pfctl/pf_print_state.c',
     233                     'freebsd/contrib/pf/pfctl/pfctl.c',
     234                     'freebsd/contrib/pf/pfctl/pfctl_altq.c',
     235                     'freebsd/contrib/pf/pfctl/pfctl_optimize.c',
     236                     'freebsd/contrib/pf/pfctl/pfctl_osfp.c',
     237                     'freebsd/contrib/pf/pfctl/pfctl_parser.c',
     238                     'freebsd/contrib/pf/pfctl/pfctl_qstats.c',
     239                     'freebsd/contrib/pf/pfctl/pfctl_radix.c',
     240                     'freebsd/contrib/pf/pfctl/pfctl_table.c',
    221241                     'freebsd/lib/libc/gen/err.c',
    222242                     'freebsd/lib/libc/gen/feature_present.c',
Note: See TracChangeset for help on using the changeset viewer.