home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
NETWORK
/
ISP
/
bind.4.8.3.lzh
/
BIND483
/
RES
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-09-22
|
2KB
|
51 lines
#
# Copyright (c) 1988 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# from @(#)Makefile 5.16 (Berkeley) 3/14/88
#
SRCS= herror.c res_comp.c res_init.c res_mkquery.c res_query.c \
res_send.c named/gethostnamadr.c named/sethostent.c \
strcasecmp.c strpbrk.c strerror.c res_debug.c select.c signal.c
OBJS = sethostent.r res_debug.r gethostnamadr.r strpbrk.r res_query.r \
res_mkquery.r res_comp.r res_send.r res_init.r select.r signal.r \
strcasecmp.r strerror.r herror.r writev.r
DEFS= -DBSD=43 # -DDEBUG
CFLAGS= -O ${DEFS} -T/dd -I. -I/h0/blarslib/defs -O0 -Dis68k -g
CC = gcc2
libresolv.l: ${OBJS}
merge ${OBJS} >-libresolv.l
install: libresolv.l
install -o bin -g bin -m 644 libresolv.a ${DESTDIR}/usr/lib
ranlib ${DESTDIR}/usr/lib/libresolv.a
.c.r:
${CC} ${CFLAGS} -c -o $*.r $<
gethostnamadr.r: named/gethostnamadr.c
${CC} -c ${CFLAGS} named/gethostnamadr.c
sethostent.r: named/sethostent.c
${CC} -c ${CFLAGS} named/sethostent.c
clean: FRC
rm -f *.r errs a.out core libresolv.a tags
depend: FRC
mkdep ${CFLAGS} ${SRCS}
FRC:
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.