From 7ebd0b18cf73522febdce2c0df08f56cb20c331e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 27 Oct 2000 20:44:19 +0000 Subject: Add in getprotobyname, getservicebyname, and related junk --- libc/inet/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libc/inet/Makefile') diff --git a/libc/inet/Makefile b/libc/inet/Makefile index c1afea35a..e5f11ee51 100644 --- a/libc/inet/Makefile +++ b/libc/inet/Makefile @@ -40,7 +40,11 @@ MSRC3=socketcalls.c 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 -OBJS=$(MOBJ) $(MOBJ2) $(MOBJ3) + +CSRC =getservice.c getproto.c +COBJS=$(patsubst %.c,%.o, $(CSRC)) + +OBJS=$(MOBJ) $(MOBJ2) $(MOBJ3) $(COBJS) all: $(OBJS) $(LIBC) @@ -62,7 +66,9 @@ $(MOBJ3): $(MSRC3) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: subdirs_clean rm -f *.[oa] *~ core -- cgit v1.2.3