diff options
author | David McCullough <davidm@snapgear.com> | 2002-01-17 03:58:58 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2002-01-17 03:58:58 +0000 |
commit | 9557844c482a3a2302df69e06677178247634d56 (patch) | |
tree | 12f452f04f869fdd063f54bb964e96ac8ca49f2c /libc/inet/Makefile | |
parent | ae36d86f4cd1172196b21e5775ff75b288b24d9a (diff) |
Add in support for inet_netof, inet_lnaof, inet_makeaddr and hstrerror.
Diffstat (limited to 'libc/inet/Makefile')
-rw-r--r-- | libc/inet/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/libc/inet/Makefile b/libc/inet/Makefile index c9157bb84..8ca400649 100644 --- a/libc/inet/Makefile +++ b/libc/inet/Makefile @@ -32,7 +32,8 @@ endif ALL_SUBDIRS = rpc MSRC=addr.c -MOBJ=inet_aton.o inet_addr.o inet_ntoa.o +MOBJ=inet_aton.o inet_addr.o inet_ntoa.o inet_makeaddr.o inet_lnaof.o \ + inet_netof.o MSRC2=resolv.c MOBJ2=encodeh.o decodeh.o encoded.o decoded.o lengthd.o encodeq.o \ @@ -48,12 +49,15 @@ MOBJ3= accept.o bind.o connect.o getpeername.o getsockname.o getsockopt.o \ listen.o recv.o recvfrom.o recvmsg.o send.o sendmsg.o sendto.o \ setsockopt.o shutdown.o socket.o socketpair.o +MSRC4=herror.c +MOBJ4=herror.o hstrerror.o + CSRC =getservice.c getproto.c hostid.c getnetent.c getnetbynm.c getnetbyad.c \ - herror.c inet_net.c ntop.c + inet_net.c ntop.c COBJS=$(patsubst %.c,%.o, $(CSRC)) -OBJS=$(MOBJ) $(MOBJ2) $(MOBJ3) $(COBJS) +OBJS=$(MOBJ) $(MOBJ2) $(MOBJ3) $(MOBJ4) $(COBJS) all: $(OBJS) $(LIBC) @@ -75,6 +79,10 @@ $(MOBJ3): $(MSRC3) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o +$(MOBJ4): $(MSRC4) + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o + $(COBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o |