Changeset 0551981 in rtems-libbsd


Ignore:
Timestamp:
Oct 11, 2012, 2:03:25 PM (9 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
82e1c69
Parents:
d4ceffb
Message:

Added files to get netshell to link when using ping.

Location:
freebsd-userspace
Files:
20 added
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/Makefile

    rd4ceffb r0551981  
    2222CFLAGS += -D__DBINTERFACE_PRIVATE
    2323
     24CFLAGS += -g
    2425CFLAGS += -w
    2526CFLAGS += -std=gnu99
     
    6162C_FILES += lib/libc/net/getservent.c
    6263C_FILES += lib/libc/net/nsdispatch.c
     64C_FILES += lib/libc/net/gai_strerror.c
    6365# The following two /net files are generated
    6466C_FILES += lib/libc/net/nslexer.c
     
    7981C_FILES += lib/libc/net/rcmd.c
    8082C_FILES += lib/libc/net/recv.c
    81 C_FILES += lib/libc/net/send.c
     83# C_FILES += lib/libc/net/send.c
    8284C_FILES += lib/libc/resolv/herror.c
    8385C_FILES += lib/libc/resolv/h_errno.c
     
    126128C_FILES += lib/libc/db/mpool/mpool.c
    127129
     130
     131# libipsec files
     132C_FILES += lib/libipsec/pfkey_dump.c
     133# Has a main and may or may not be needed
     134# C_FILES += lib/libipsec/test-policy.c
     135C_FILES += lib/libipsec/pfkey.c
     136C_FILES += lib/libipsec/ipsec_strerror.c
     137C_FILES += lib/libipsec/ipsec_get_policylen.c
     138C_FILES += lib/libipsec/ipsec_dump_policy.c
     139# The following two /net files are generated
     140C_FILES += lib/libipsec/policy_token.c
     141C_FILES += lib/libipsec/policy_parse.c
     142
    128143# RTEMS Specific Files
    129144# C_FILES += rtems/rtems-net-setup.c
     
    132147C_FILES += rtems/rtems-getprogname.c
    133148C_FILES += rtems/rtems-uthread_main_np.c
     149C_FILES += rtems/rtems-uthread_kevent.c
     150C_FILES += rtems/rtems-uthread_kqueue.c
    134151
    135152# ping command sources
     
    216233GEN_FILES = include/rpc/rpcb_prot.h
    217234GEN_FILES += commands/sbin/route/keywords.h
     235# lib/libc/net
    218236GEN_FILES += lib/libc/net/nslexer.c
    219237GEN_FILES += lib/libc/net/nsparser.c
    220 
    221238EXTRA_CLEAN = lib/libc/net/nsparser.i
     239
     240# lib/libipsec
     241GEN_FILES += lib/libipsec/policy_token.c
     242GEN_FILES += lib/libipsec/policy_parse.c
     243EXTRA_CLEAN += lib/libc/net/policy_parse.i
    222244
    223245all: $(LIB)
     
    240262        rm -f _keywords.tmp
    241263
    242 YFLAGS+=-p_nsyy
    243 LFLAGS+=-P_nsyy
    244 
     264# lib/libc/net Yacc and lex files
    245265lib/libc/net/nslexer.c: lib/libc/net/nslexer.l
    246         ${LEX} ${LFLAGS} -t $^ | \
     266        ${LEX} -P _nsyy -t $^ | \
    247267                sed -e '/YY_BUF_SIZE/s/16384/1024/' >$@
    248268
    249269lib/libc/net/nsparser.c: lib/libc/net/nsparser.y
    250         yacc -d ${YFLAGS} -o lib/libc/net/nsparser.i $^
     270        yacc -d -p_nsyy -o lib/libc/net/nsparser.i $^
    251271        cat lib/libc/net/nsparser.i | \
    252272                sed -e '/YY_BUF_SIZE/s/16384/1024/' >$@
    253273        rm -f lib/libc/net/nsparser.i
     274
     275# libipsec Yacc and lex files
     276lib/libipsec/policy_token.c: lib/libipsec/policy_token.l
     277        ${LEX} -P __libipsecyy -t $^ | \
     278                sed -e '/YY_BUF_SIZE/s/16384/1024/' >$@
     279
     280lib/libipsec/policy_parse.c: lib/libipsec/policy_parse.y
     281        yacc -d -p __libipsecyy -o lib/libipsec/policy_parse.i $^
     282        cat lib/libipsec/policy_parse.i | \
     283                sed -e '/YY_BUF_SIZE/s/16384/1024/' >$@
     284        rm -f lib/libipsec/policy_parse.i
    254285
    255286install: $(LIB)
Note: See TracChangeset for help on using the changeset viewer.