Changes in / [5a95703:210671a] in rtems-libbsd


Ignore:
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r5a95703 r210671a  
    5858rtemsbsd/v850/include/freebsd/machine/legacyvar.h
    5959rtemsbsd/v850/include/freebsd/machine/pci_cfgreg.h
     60freebsd-userspace/lib/libc/net/nslexer.c
     61freebsd-userspace/lib/libc/net/nsparser.c
     62freebsd-userspace/lib/libc/net/nsparser.i
  • freebsd-userspace/Makefile

    r5a95703 r210671a  
    1414# XXX hack to find rpc
    1515CFLAGS += -I../services/librpc/include
     16# nsparser needs this
     17CFLAGS += -Ilib/libc/net
    1618
    1719CFLAGS += -I$(INSTALL_BASE)/include
     
    5860C_FILES += lib/libc/net/getprotoname.c
    5961C_FILES += lib/libc/net/getservent.c
     62C_FILES += lib/libc/net/nsdispatch.c
     63C_FILES += lib/libc/net/nslexer.c
    6064C_FILES += lib/libc/gen/err.c
    6165C_FILES += lib/libc/gen/gethostname.c
     
    206210GEN_FILES = include/rpc/rpcb_prot.h
    207211GEN_FILES += commands/sbin/route/keywords.h
     212GEN_FILES += lib/libc/net/nslexer.c
     213GEN_FILES += lib/libc/net/nsparser.c
     214
     215EXTRA_CLEAN = lib/libc/net/nsparser.i
     216
    208217all: $(LIB)
    209218
     
    225234        rm -f _keywords.tmp
    226235
     236YFLAGS+=-p_nsyy
     237LFLAGS+=-P_nsyy
     238
     239lib/libc/net/nslexer.c: lib/libc/net/nslexer.l
     240        ${LEX} ${LFLAGS} -t $^ | \
     241                sed -e '/YY_BUF_SIZE/s/16384/1024/' >$@
     242
     243lib/libc/net/nsparser.c: lib/libc/net/nsparser.y
     244        yacc -d ${YFLAGS} -o lib/libc/net/nsparser.i $^
     245        cat lib/libc/net/nsparser.i | \
     246                sed -e '/YY_BUF_SIZE/s/16384/1024/' >$@
    227247install: $(LIB)
    228248        install -d $(INSTALL_BASE)/include
     
    238258
    239259clean:
    240         rm -f $(LIB) $(C_O_FILES) $(C_D_FILES) $(GEN_FILES)
     260        rm -f $(LIB) $(C_O_FILES) $(C_D_FILES) $(GEN_FILES) $(CLEAN_FILES)
    241261
    242262-include $(C_D_FILES)
Note: See TracChangeset for help on using the changeset viewer.