find_modules: automatic detection of used modules.
authorMarko Kreen <markokr@gmail.com>
Wed, 2 Sep 2009 09:14:55 +0000 (12:14 +0300)
committerMarko Kreen <markokr@gmail.com>
Wed, 2 Sep 2009 09:14:55 +0000 (12:14 +0300)
commit0775b28330f411583e0acc0cdd9ae21ae38a9c07
tree70d9ea848d2b147276fe12fc9bae966731b814bf
parente004bf6f17fcb85beed1c88a22f185a70448dcc9
find_modules: automatic detection of used modules.

It's a shell script to parse out used libusual modules
from user source files.  So instead:

  USUAL_DIR =
  USUAL_MODULES =

user can do

  USUAL_DIR =
  USUAL_LOCAL_SRCS =

where USUAL_LOCAL_SRCS contains source files, both .c and .h,
that include libusual files.  Then Setup.mk will launch find_modules
to get actually used list of modules.
Setup.mk
find_modules.sh [new file with mode: 0755]