?? makefile
字號:
# $Id: Makefile,v 1.1 1996/11/22 02:20:21 vixie Exp $CFLAGS= -O -I../${INCL} -I../${COMPINCL} ${DEFS} ${LOCDEFS} ${SOLCOMPAT}## The addition of -Dsocket=_socket is needed here because the resolver shared# library may be loaded by the name service switch in the context of a SunOS 4# program running in compatibility mode. In this case, socket is bound to the# version in /usr/4lib/libc.so.[12].8, which uses the BSD values of SOCK_DGRAM# and SOCK_STREAM, which are the reverse of the SVR4 values. This causes real# problems. To avoid this, the resolver shared library must use _socket, which# is only defined in /usr/lib/libsocket.so.#SOLCOMPAT = -Dgethostbyname=res_gethostbyname \ -Dgethostbyaddr=res_gethostbyaddr -Dgetnetbyname=res_getnetbyname \ -Dgetnetbyaddr=res_getnetbyaddr -Dsethostent=res_sethostent \ -Dendhostent=res_endhostent -Dgethostent=res_gethostent \ -Dsetnetent=res_setnetent -Dendnetent=res_endnetent \ -Dgetnetent=res_getnetent -Dsocket=_socketLOCDEFS= -DUSE_OPTIONS_HOBJS= herror.o res_debug.o res_data.o \ res_comp.o res_init.o res_mkquery.o res_query.o res_send.o \ getnetbyaddr.o getnetbyname.o getnetent.o getnetnamadr.o \ gethnamaddr.o sethostent.o nsap_addr.o \ inet_addr.oall: libresolv.so$(OBJS): ${SHCC} ${CFLAGS} ${PIC} -D_REENTRANT -c $? -o $@distclean: cleanclean: FRC rm -f errs a.out core libresolv.so tags *.o *.BAK *.CKP *~ *.origdepend: @echo No dependencies in `pwd`install: ${DESTDIR}${DESTLIB}/libresolv.so.2${DESTDIR}${DESTLIB}/libresolv.so.2: libresolv.so ${INSTALL} -c -o bin -g bin -m 755 libresolv.so \ ${DESTDIR}${DESTLIB}/libresolv.so.2 rm -f ${DESTDIR}${DESTLIB}/libresolv.so ln -s libresolv.so.2 ${DESTDIR}${DESTLIB}/libresolv.soFRC:libresolv.so: ${OBJS} LD_OPTIONS="-h libresolv.so.2" $(SHLD) -o $@ $(OBJS) -lsocket -lnslherror.o: ../../res/herror.cres_comp.o: ../../res/res_comp.cres_debug.o: ../../res/res_debug.cres_data.o: ../../res/res_data.cres_init.o: ../../res/res_init.cres_mkquery.o: ../../res/res_mkquery.cres_query.o: ../../res/res_query.cres_send.o: ../../res/res_send.cgetnetbyaddr.o: ../../res/getnetbyaddr.cgetnetbyname.o: ../../res/getnetbyname.cgetnetent.o: ../../res/getnetent.cgetnetnamadr.o: ../../res/getnetnamadr.cgethnamaddr.o: ../../res/gethnamaddr.csethostent.o: ../../res/sethostent.cnsap_addr.o: ../../res/nsap_addr.cinet_addr.o: ../../res/inet_addr.c
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -