Print this page
9704 move socket functions to libc
*** 24,50 ****
#
LIBRARY = libsocket.a
VERS = .1
! INETOBJS = bindresvport.o bootparams_getbyname.o ether_addr.o \
getaddrinfo.o getnameinfo.o getnetent.o getnetent_r.o \
getprotoent.o getprotoent_r.o getservbyname_r.o getservent.o \
getservent_r.o inet6_opt.o inet6_rthdr.o interface_id.o \
link_addr.o netmasks.o rcmd.o rexec.o ruserpass.o \
sourcefilter.o getifaddrs.o
- SOCKOBJS = _soutil.o sockatmark.o socket.o socketpair.o weaks.o
- OBJECTS = $(INETOBJS) $(SOCKOBJS)
include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
! SRCS = $(INETOBJS:%.o=../inet/%.c) $(SOCKOBJS:%.o=../socket/%.c)
LDLIBS += -lnsl -lc
SRCDIR = ../common
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
--- 24,48 ----
#
LIBRARY = libsocket.a
VERS = .1
! OBJECTS = bindresvport.o bootparams_getbyname.o ether_addr.o \
getaddrinfo.o getnameinfo.o getnetent.o getnetent_r.o \
getprotoent.o getprotoent_r.o getservbyname_r.o getservent.o \
getservent_r.o inet6_opt.o inet6_rthdr.o interface_id.o \
link_addr.o netmasks.o rcmd.o rexec.o ruserpass.o \
sourcefilter.o getifaddrs.o
include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
! SRCS = $(OBJECTS:%.o=../inet/%.c)
LDLIBS += -lnsl -lc
SRCDIR = ../common
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)