<http://www.opensolaris.org>


  OpenSolaris <http://www.opensolaris.org>

*Makefile*
libresolv - resolver library
xref </source/xref/>: /on </source/xref/on/>/usr
</source/xref/on/usr/>/src </source/xref/on/usr/src/>/lib
</source/xref/on/usr/src/lib/>/libresolv
</source/xref/on/usr/src/lib/libresolv/>/Makefile
</source/xref/on/usr/src/lib/libresolv/Makefile>
Home </source> | History
</source/history/on/usr/src/lib/libresolv/Makefile> | Download
</source/raw/on/usr/src/lib/libresolv/Makefile> | only in *libresolv*

      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr </source/s?path=usr/>/src </source/s?path=usr/src/>/OPENSOLARIS.LICENSE </source/s?path=usr/src/OPENSOLARIS.LICENSE>
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr </source/s?path=usr/>/src </source/s?path=usr/src/>/OPENSOLARIS.LICENSE </source/s?path=usr/src/OPENSOLARIS.LICENSE>.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 #
     22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
     23 # Use is subject to license terms.
     24 #
     25 # ident	"@(#)Makefile	1.27	06/08/02 SMI"
     26 #
     27 
     28 LIBRARY= libresolv.a </source/s?path=libresolv.a>
     29 VERS= .1
     30 
     31 PICS=   pics </source/s?path=pics/>/res_comp.o </source/s?path=pics/res_comp.o> pics </source/s?path=pics/>/res_debug.o </source/s?path=pics/res_debug.o> pics </source/s?path=pics/>/res_init.o </source/s?path=pics/res_init.o> \
     32 	pics </source/s?path=pics/>/res_mkquery.o </source/s?path=pics/res_mkquery.o> pics </source/s?path=pics/>/res_query.o </source/s?path=pics/res_query.o> pics </source/s?path=pics/>/res_send.o </source/s?path=pics/res_send.o> \
     33 	pics </source/s?path=pics/>/res_gethost.o </source/s?path=pics/res_gethost.o> pics </source/s?path=pics/>/res_sethost.o </source/s?path=pics/res_sethost.o>
     34 
     35 pics </source/s?refs=pics>/%.o: %.c
     36 	$(COMPILE.c </source/s?path=COMPILE.c>) -o $@ $<
     37 	$(POST_PROCESS_O </source/s?refs=POST_PROCESS_O>)
     38 
     39 OBJECTS= \
     40 res_gethost.o </source/s?path=res_gethost.o>   res_comp.o </source/s?path=res_comp.o>      res_debug.o </source/s?path=res_debug.o>     res_init.o </source/s?path=res_init.o>    res_mkquery.o </source/s?path=res_mkquery.o>  \
     41 res_query.o </source/s?path=res_query.o>     res_send.o </source/s?path=res_send.o>      res_sethost.o </source/s?path=res_sethost.o>
     42 
     43 # include library definitions
     44 include </source/s?refs=include> ../Makefile.lib </source/s?path=Makefile.lib>
     45 
     46 # install this library in the root filesystem
     47 include </source/s?refs=include> ../Makefile.rootfs </source/s?path=Makefile.rootfs>
     48 
     49 SRCDIR =	.
     50 
     51 C99MODE=	$(C99_DISABLE </source/s?refs=C99_DISABLE>)
     52 
     53 # We really want to say this:
     54 #	CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I.. </source/s?path=I../>/common </source/s?path=I../common/>/inc </source/s?path=I../common/inc>
     55 # but some system header files are replaced by local versions
     56 # so we must put -I. ahead of the default include directories:
     57 CPPFLAGS = -I. -I.. </source/s?path=I../>/common </source/s?path=I../common/>/inc </source/s?path=I../common/inc> $(CPPFLAGS.master </source/s?path=CPPFLAGS.master>) -DDEBUG </source/s?refs=DDEBUG> -DSYSV </source/s?refs=DSYSV> -D_REENTRANT </source/s?refs=D_REENTRANT>
     58 LDLIBS </source/s?refs=LDLIBS> += -lsocket </source/s?refs=lsocket> -lnsl </source/s?refs=lnsl> -lc </source/s?refs=lc>
     59 
     60 ROOTDYNLIBS=	$(DYNLIB </source/s?refs=DYNLIB>:%=$(ROOTLIBDIR </source/s?refs=ROOTLIBDIR>)/%)
     61 
     62 .KEEP_STATE </source/s?refs=KEEP_STATE>:
     63 
     64 LIBS = $(DYNLIB </source/s?refs=DYNLIB>)
     65 
     66 all </source/s?refs=all>: $(LIBS <#LIBS>)
     67 
     68 install </source/s?refs=install>: all </source/s?refs=all> $(ROOTDYNLIBS <#ROOTDYNLIBS>)
     69 
     70 lint </source/s?refs=lint>: lintcheck </source/s?refs=lintcheck>
     71 
     72 # include library targets
     73 include </source/s?refs=include> ../Makefile.targ </source/s?path=Makefile.targ>
     74 

Served by OpenGrok <http://www.opensolaris.org/os/project/opengrok/>

Terms of Use <http://www.sun.com/share/text/termsofuse.html> | Privacy
<http://www.sun.com/privacy/> | Trademarks
<http://www.sun.com/suntrademarks/>
Your use of this web site or any of its content or software indicates
your agreement to be bound by these Terms of Use.
Copyright  1995-2005 Sun Microsystems, Inc.
Our lawyer is making us say that OpenSolaris is a trademark of Sun
Microsystems, Inc.

