2 # Symbolic target to add to all
6 # Include subdirectory to make the pkg-config stuff (it doesn't make much sense
7 # to have this in a separated directory, it's just to test very nested
9 $(call include_subdirs,pkg-config)
12 $L/libotherproj.so: LINKER := $(CC)
13 $L/libotherproj.so: $(call find_objects,c)
14 $I/lib/libotherproj.so: $L/libotherproj.so
15 install += $I/lib/libotherproj.so
16 otherproj: $L/libotherproj.so
18 # Install the library's headers
19 $I/include/otherproj/%.h: $C/%.h
21 # XXX: we can't use += here, call will be resolved lazily if we do
22 install := $(install) $(call find_files,.h,$I/include/otherproj)
24 # Build the documentation using doxygen
26 otherproj-doc: $D/otherproj/doxygen-stamp
27 $D/otherproj/doxygen-stamp: $C/Doxyfile $(call find_files,.h)
30 # Create the include directory symbolic link and pkg-config flags file
31 setup_include_dir__ := $(call symlink_include_dir,otherproj)