1 ##################################################
2 #Desc: Missing CLib Generator
5 ##################################################
6 #Included from buildc.make
7 #Defines vars for automatically downloading,
8 #compiling, and linking GNU-like C libraries
9 ##################################################
11 #Modify the dependency generator to find the right directory for
12 #missing lib includes (they are in MLDIR/src/libname/libname)
13 CDEPSCOMMAND
+= $(patsubst %, | sed
-e
's@ \(%\)/@$(MLSRCDIR)/\1/\1/@',$(MISSINGLIBS
))
15 #Automake vars for building libs
20 #Notify user of libraries that are about to be built
21 $(info Libraries to be built in
$(MLLIBDIR
):)
22 $(info $(patsubst %,lib
%.so
,$(MISSINGLIBS
)))
23 STATICLIBS
:= $(patsubst %,$(MLLIBDIR
)/lib
%.so
,$(MISSINGLIBS
))
25 #Ensure that C files depend on the creation of these static libs
26 CDEPS
+= $(STATICLIBS
)