Quantcast

PERFORCE change 212854 for review

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

PERFORCE change 212854 for review

Brooks Davis-2
http://p4web.freebsd.org/@@212854?ac=10

Change 212854 by brooks@brooks_ecr_current on 2012/06/14 18:40:19

        Add a LOCAL_LIB_DIRS variable to complement the existing LOCAL_DIRS
        and LOCAL_TOOL_DIRS variables.  Directories in LOCAL_LIB_DIRS are
        built at the end of the _generic_libs target.
       
        Reviewed by: imp
        MFP4 after: 1 day

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/Makefile.inc1#3 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/Makefile.inc1#3 (text+ko) ====

@@ -15,6 +15,7 @@
 # -DNO_WWWUPDATE do not update www in ${MAKE} update
 # -DNO_CTF do not run the DTrace CTF conversion tools on built objects
 # LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list
+# LOCAL_LIB_DIRS="list of dirs" to add additional dirs to libraries
 # LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools
 #    list
 # TARGET="machine" to crossbuild world for a different machine type
@@ -1269,6 +1270,11 @@
 .endif
 
 _generic_libs= ${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin/lex/lib ${_ofed_lib}
+.for _DIR in ${LOCAL_LIB_DIRS}
+.if exists(${.CURDIR}/${_DIR}/Makefile)
+_generic_libs+= ${_DIR}
+.endif
+.endfor
 
 lib/libopie__L lib/libtacplus__L: lib/libmd__L
 
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "[hidden email]"
Loading...