Makefile:

- backed out v1.3 changes
This commit is contained in:
gdr-ftp 1998-02-17 00:35:18 +00:00
parent caf78f9f1c
commit 29f6c45c73

View File

@ -1,7 +1,7 @@
# #
# Makefile for netdb # Makefile for netdb
# #
# $Id: Makefile,v 1.3 1998/02/15 19:27:19 gdr-ftp Exp $ # $Id: Makefile,v 1.4 1998/02/17 00:35:18 gdr-ftp Exp $
# #
LIB= netdb LIB= netdb
@ -12,29 +12,6 @@ SRCS= rcmd.c getnetbyname.c getnetbyaddr.c getnetent.c getprotoname.c \
res_debug.c res_init.c res_mkquery.c res_query.c res_send.c \ res_debug.c res_init.c res_mkquery.c res_query.c res_send.c \
herror.c writev.c herror.c writev.c
# Put object files in /obj hierarchy and replace underscores with periods.
FAKESRC = $(SRCS:s/_/./g)
OBJS = $(OBJ_DIR){$(FAKESRC:b)}.o
OPTIMIZE=79 OPTIMIZE=79
.INCLUDE: /src/gno/lib/lib.mk .INCLUDE: /src/gno/lib/lib.mk
# We have to give all these explicit rules because we have renamed our
# object files such that they can be placed on a ProDOS volume.
$(OBJ_DIR)inet.addr.o: inet_addr.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)inet.lnaof.o: inet_lnaof.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)inet.makeaddr.o: inet_makeaddr.c;$(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)inet.netof.o: inet_netof.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)inet.network.o: inet_network.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)inet.ntoa.o: inet_ntoa.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)iso.addr.o: iso_addr.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)ns.addr.o: ns_addr.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)ns.ntoa.o: ns_ntoa.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)res.comp.o: res_comp.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)res.debug.o: res_debug.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)res.init.o: res_init.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)res.mkquery.o: res_mkquery.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)res.query.o: res_query.c; $(CC) -o $@ $(CFLAGS) -c $<
$(OBJ_DIR)res.send.o: res_send.c; $(CC) -o $@ $(CFLAGS) -c $<