Changeset 00a7956 in rtems-libbsd


Ignore:
Timestamp:
Apr 18, 2016, 1:02:00 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
68bf405
Parents:
97c5024a
Message:

Remove the makefile generator.

Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r97c5024a r00a7956  
    173173    # Lex
    174174    if bld.env.AUTO_REGEN:
     175        bld(target = "freebsd/lib/libipsec/policy_token.c",
     176            source = "freebsd/lib/libipsec/policy_token.l",
     177            rule = "${LEX} -P __libipsecyy -t ${SRC} | sed -e '/YY_BUF_SIZE/s/16384/1024/' > ${TGT}")
     178    bld.objects(target = "lex___libipsecyy",
     179                features = "c",
     180                cflags = cflags,
     181                includes = [] + includes,
     182                defines = [],
     183                source = "freebsd/lib/libipsec/policy_token.c")
     184    libbsd_use += ["lex___libipsecyy"]
     185
     186    if bld.env.AUTO_REGEN:
    175187        bld(target = "freebsd/lib/libc/net/nslexer.c",
    176188            source = "freebsd/lib/libc/net/nslexer.l",
     
    196208    libbsd_use += ["lex_pcap"]
    197209
     210    # Yacc
    198211    if bld.env.AUTO_REGEN:
    199         bld(target = "freebsd/lib/libipsec/policy_token.c",
    200             source = "freebsd/lib/libipsec/policy_token.l",
    201             rule = "${LEX} -P __libipsecyy -t ${SRC} | sed -e '/YY_BUF_SIZE/s/16384/1024/' > ${TGT}")
    202     bld.objects(target = "lex___libipsecyy",
     212        bld(target = "freebsd/lib/libc/net/nsparser.c",
     213            source = "freebsd/lib/libc/net/nsparser.y",
     214            rule = "${YACC} -b _nsyy -d -p _nsyy ${SRC} && sed -e '/YY_BUF_SIZE/s/16384/1024/' < _nsyy.tab.c > ${TGT} && rm -f _nsyy.tab.c && mv _nsyy.tab.h freebsd/lib/libc/net/nsparser.h")
     215    bld.objects(target = "yacc__nsyy",
    203216                features = "c",
    204217                cflags = cflags,
    205218                includes = [] + includes,
    206219                defines = [],
    207                 source = "freebsd/lib/libipsec/policy_token.c")
    208     libbsd_use += ["lex___libipsecyy"]
    209 
    210     # Yacc
     220                source = "freebsd/lib/libc/net/nsparser.c")
     221    libbsd_use += ["yacc__nsyy"]
    211222    if bld.env.AUTO_REGEN:
    212223        bld(target = "freebsd/lib/libipsec/policy_parse.c",
     
    220231                source = "freebsd/lib/libipsec/policy_parse.c")
    221232    libbsd_use += ["yacc___libipsecyy"]
    222     if bld.env.AUTO_REGEN:
    223         bld(target = "freebsd/lib/libc/net/nsparser.c",
    224             source = "freebsd/lib/libc/net/nsparser.y",
    225             rule = "${YACC} -b _nsyy -d -p _nsyy ${SRC} && sed -e '/YY_BUF_SIZE/s/16384/1024/' < _nsyy.tab.c > ${TGT} && rm -f _nsyy.tab.c && mv _nsyy.tab.h freebsd/lib/libc/net/nsparser.h")
    226     bld.objects(target = "yacc__nsyy",
    227                 features = "c",
    228                 cflags = cflags,
    229                 includes = [] + includes,
    230                 defines = [],
    231                 source = "freebsd/lib/libc/net/nsparser.c")
    232     libbsd_use += ["yacc__nsyy"]
    233233    if bld.env.AUTO_REGEN:
    234234        bld(target = "freebsd/contrib/libpcap/grammar.c",
Note: See TracChangeset for help on using the changeset viewer.