[BACK]Return to bsd.lib.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/mk/bsd.lib.mk between version 1.161 and 1.165

version 1.161, 2000/01/17 18:37:23 version 1.165, 2000/04/29 17:41:11
Line 44  checkver:
Line 44  checkver:
 # Set PICFLAGS to cc flags for producing position-independent code,  # Set PICFLAGS to cc flags for producing position-independent code,
 # if not already set.  Includes -DPIC, if required.  # if not already set.  Includes -DPIC, if required.
   
 # Data-driven table using make variables to control  how shared libraries  # Data-driven table using make variables to control how shared libraries
 # are built for different platforms and object formats.  # are built for different platforms and object formats.
 # OBJECT_FMT:           currently either "ELF" or "a.out", from <bsd.own.mk>  # OBJECT_FMT:           currently either "ELF" or "a.out", from <bsd.own.mk>
 # SHLIB_SOVERSION:      version number to be compiled into a shared library  # SHLIB_SOVERSION:      version number to be compiled into a shared library
 #                       via -soname. Usualy ${SHLIB_MAJOR} on ELF.  #                       via -soname. Usualy ${SHLIB_MAJOR} on ELF.
 #                       NetBSD/pmax used to use ${SHLIB_MAJOR}.{SHLIB-MINOR}.  #                       NetBSD/pmax used to use ${SHLIB_MAJOR}.{SHLIB-MINOR}.
 # SHLIB_SHFLAGS:        Flags to tell ${LD} to emit  shared library.  # SHLIB_SHFLAGS:        Flags to tell ${LD} to emit shared library.
 #                       with ELF, also set shared-lib version for ld.so.  #                       with ELF, also set shared-lib version for ld.so.
 # SHLIB_LDSTARTFILE:    support .o file, call C++ file-level constructors  # SHLIB_LDSTARTFILE:    support .o file, call C++ file-level constructors
 # SHLIB_LDENDFILE:      support .o file, call C++ file-level destructors  # SHLIB_LDENDFILE:      support .o file, call C++ file-level destructors
 # CPPICFLAGS:   flags for ${CPP} to preprocess  .[sS]  files for ${AS}  # CPPICFLAGS:           flags for ${CPP} to preprocess .[sS] files for ${AS}
 # CPICFLAGS:    flags for ${CC} to compile  .[cC] files to .so objects.  # CPICFLAGS:            flags for ${CC} to compile .[cC] files to .so objects.
 # CAPICFLAGS    flags for {$CC} to compiling .[Ss] files  # CAPICFLAGS            flags for {$CC} to compiling .[Ss] files
 #                       (usually just ${CPPPICFLAGS} ${CPICFLAGS})  #                       (usually just ${CPPPICFLAGS} ${CPICFLAGS})
 # APICFLAGS:    flags for ${AS} to assemble .[sS]  to .so objects.  # APICFLAGS:            flags for ${AS} to assemble .[sS] to .so objects.
   
 .if ${MACHINE_ARCH} == "alpha"  .if ${MACHINE_ARCH} == "alpha"
                 # Alpha-specific shared library flags                  # Alpha-specific shared library flags
 CPICFLAGS ?= -fpic -DPIC  CPICFLAGS ?= -fPIC -DPIC
 CPPPICFLAGS?= -DPIC  CPPPICFLAGS?= -DPIC
 CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}  CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
 APICFLAGS ?=  APICFLAGS ?=
Line 79  AS+= -KPIC
Line 79  AS+= -KPIC
   
 .elif ${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} == "ELF"  .elif ${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} == "ELF"
   
 CPICFLAGS ?= -fpic -DPIC  CPICFLAGS ?= -fPIC -DPIC
 CPPPICFLAGS?= -DPIC  CPPPICFLAGS?= -DPIC
 CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}  CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
 APICFLAGS ?= -KPIC  APICFLAGS ?= -KPIC
Line 91  SHLIB_LDSTARTFILE=
Line 91  SHLIB_LDSTARTFILE=
 SHLIB_LDENDFILE=  SHLIB_LDENDFILE=
 SHLIB_SHFLAGS=  SHLIB_SHFLAGS=
 SHLIB_SOVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}  SHLIB_SOVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}
 CPICFLAGS?= -fpic -DPIC  CPICFLAGS?= -fPIC -DPIC
 CPPPICFLAGS?= -DPIC  CPPPICFLAGS?= -DPIC
 CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}  CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
 APICFLAGS?= -k  APICFLAGS?= -k
Line 254  LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.l
Line 254  LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.l
 .endif  .endif
   
 ALLOBJS=${OBJS} ${POBJS} ${SOBJS} ${LOBJS}  ALLOBJS=${OBJS} ${POBJS} ${SOBJS} ${LOBJS}
   .NOPATH: ${ALLOBJS} ${_LIBS}
   
 all: ${SRCS} ${ALLOBJS:O} ${_LIBS}  realall: ${SRCS} ${ALLOBJS:O} ${_LIBS}
   
 __archivebuild: .USE  __archivebuild: .USE
         @rm -f ${.TARGET}          @rm -f ${.TARGET}

Legend:
Removed from v.1.161  
changed lines
  Added in v.1.165

CVSweb <webmaster@jp.NetBSD.org>