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
/
TOOLS
/
NSLOOKUP
/
makefile.org
< prev
next >
Wrap
Makefile
|
1994-08-29
|
2KB
|
51 lines
#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by the University of California, 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'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# @(#)Makefile 5.20 (Berkeley) 10/2/89
#
CFLAGS= -O
RES=
LIBC= /lib/libc.a
LIBS= -ll ${RES}
CSRCS= main.c getinfo.c debug.c send.c skip.c list.c subr.c
SRCS= ${CSRCS} commands.c
OBJS= main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o
all: nslookup
nslookup: ${OBJS} ${LIBC}
${CC} -o $@ ${OBJS} ${LIBS}
clean:
rm -f ${OBJS} core nslookup commands.c lex.yy.c lex.yy.o
cleandir: clean
rm -f tags .depend
depend: ${SRCS}
mkdep ${CFLAGS} ${SRCS}
install:
install -s -o bin -g bin -m 755 nslookup ${DESTDIR}/usr/local/nslookup
install -c -o bin -g bin -m 444 nslookup.help ${DESTDIR}/usr/local/nslookup.help
install -c -o bin -g bin -m 444 nslookup.8 ${DESTDIR}/usr/man/man8/nslookup.8
lint: ${SRCS}
lint ${SRCS}
tags: ${CSRCS}
ctags ${CSRCS}