Changeset 939b12b in rtems-libbsd


Ignore:
Timestamp:
Jul 11, 2012, 10:38:09 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
1543249
Parents:
2f14df7
Message:

Makefile: Enable most files to build

Location:
freebsd-userspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/Makefile

    r2f14df7 r939b12b  
    4040C_FILES += lib/libc/net/base64.c
    4141C_FILES += lib/libc/net/ether_addr.c
    42 # C_FILES += lib/libc/net/gethostbydns.c
    43 # C_FILES += lib/libc/net/gethostbyht.c
     42C_FILES += lib/libc/net/gethostbydns.c
     43C_FILES += lib/libc/net/gethostbyht.c
    4444C_FILES += lib/libc/net/gethostbynis.c
    45 # C_FILES += lib/libc/net/gethostnamadr.c
     45C_FILES += lib/libc/net/gethostnamadr.c
    4646C_FILES += lib/libc/net/getifaddrs.c
    4747C_FILES += lib/libc/net/getifmaddrs.c
    4848C_FILES += lib/libc/net/getnameinfo.c
    49 # C_FILES += lib/libc/net/getnetbydns.c
    50 # C_FILES += lib/libc/net/getnetbyht.c
     49C_FILES += lib/libc/net/getnetbydns.c
     50C_FILES += lib/libc/net/getnetbyht.c
    5151C_FILES += lib/libc/net/getnetbynis.c
    52 # C_FILES += lib/libc/net/getnetnamadr.c
    53 # C_FILES += lib/libc/net/getproto.c
    54 # C_FILES += lib/libc/net/getprotoent.c
    55 # C_FILES += lib/libc/net/getprotoname.c
     52C_FILES += lib/libc/net/getnetnamadr.c
     53C_FILES += lib/libc/net/getproto.c
     54C_FILES += lib/libc/net/getprotoent.c
     55C_FILES += lib/libc/net/getprotoname.c
     56# _ALIGNBYTES needs to be addressed
    5657# C_FILES += lib/libc/net/getservent.c
    5758C_FILES += lib/libc/gen/gethostname.c
    58 # C_FILES += lib/libc/nameser/ns_name.c
     59C_FILES += lib/libc/nameser/ns_name.c
    5960C_FILES += lib/libc/nameser/ns_netint.c
    6061C_FILES += lib/libc/nameser/ns_parse.c
     62# isc/assertions.h is needed
    6163# C_FILES += lib/libc/nameser/ns_print.c
    6264C_FILES += lib/libc/nameser/ns_ttl.c
     
    6466C_FILES += lib/libc/net/if_nameindex.c
    6567C_FILES += lib/libc/net/linkaddr.c
    66 # C_FILES += lib/libc/net/map_v4v6.c
    67 # C_FILES += lib/libc/net/rcmd.c
     68C_FILES += lib/libc/net/map_v4v6.c
     69C_FILES += lib/libc/net/rcmd.c
    6870C_FILES += lib/libc/net/recv.c
    6971C_FILES += lib/libc/net/send.c
     
    7173# C_FILES += lib/libc/resolv/herror.c
    7274C_FILES += lib/libc/resolv/res_comp.c
    73 # Little of res_XXX compiles without BIND_4_COMPAT fixed
    74 # one of many needing BIND_4_COMPAT defined (#1 issue impacting most)
    75 # C_FILES += lib/libc/resolv/res_data.c
    76 # one of many needing BIND_4_COMPAT defined (#1 issue impacting most)
    77 # C_FILES += lib/libc/resolv/res_debug.c
    78 # one of many needing BIND_4_COMPAT defined (#1 issue impacting most)
    79 # C_FILES += lib/libc/resolv/res_init.c
    80 # C_FILES += lib/libc/resolv/res_mkquery.c
     75C_FILES += lib/libc/resolv/res_data.c
     76C_FILES += lib/libc/resolv/res_debug.c
     77C_FILES += lib/libc/resolv/res_init.c
     78C_FILES += lib/libc/resolv/res_mkquery.c
     79# weird compile problem with what appears to be a list
    8180# C_FILES += lib/libc/resolv/res_mkupdate.c
    82 # C_FILES += lib/libc/resolv/res_query.c
    83 #C_FILES += lib/libc/resolv/res_send.c
    84 #C_FILES += lib/libc/resolv/res_update.c
     81C_FILES += lib/libc/resolv/res_query.c
     82# fd_setsize.h is missing and Joel can't find it
     83# C_FILES += lib/libc/resolv/res_send.c
     84# isc/list.h is missing
     85# C_FILES += lib/libc/resolv/res_update.c
    8586C_FILES += lib/libc/string/strsep.c
    8687
  • freebsd-userspace/from-freebsd.sh

    r2f14df7 r939b12b  
    124124include/rpc/svc_soc.h
    125125include/rpc/xdr.h
    126 include/arpa/nameser_compat.h
    127126include/arpa/inet.h
     127include/arpa/nameser.h
    128128sys/net/ethernet.h
    129129sys/rpc/types.h
     
    154154lib/libc/net/res_config.h
    155155EOF
     156# processed by hand
     157# include/arpa/nameser_compat.h
    156158
    157159# disable BIND_4_COMPAT since it trips a weird endian issue in nameser_compat.h
    158 sed -e 's/#define BIND_4_COMPAT/\/* #define BIND_4_COMPAT *\//' \
    159   <${src}/include/arpa/nameser.h \
    160   >${dest}/include/arpa/nameser.h
     160#sed -e 's/#define BIND_4_COMPAT/\/* #define BIND_4_COMPAT *\//' \
     161#  >${dest}/include/arpa/nameser.h
     162#  <${src}/include/arpa/nameser.h \
     163
     164# fix include so it sees FreeBSD endian definitions
     165sed -e 's/<machine\/endian.h>/<freebsd\/machine\/endian.h>/' \
     166  <${src}/include/arpa/nameser_compat.h \
     167  >${dest}/include/arpa/nameser_compat.h
     168
    161169
    162170# source files to prepend "include of local/port_before.h"
     
    216224EOF
    217225
     226# This file includes a private "dprintf" which conflicts with stdio.h
     227sed -e 's/dprintf/DPRINTF/g' <${dest}/lib/libc/net/gethostbydns.c  >XXX
     228mv XXX ${dest}/lib/libc/net/gethostbydns.c
     229
    218230
    219231# files to "include with freebsd"
Note: See TracChangeset for help on using the changeset viewer.