On Thu, Sep 17, 2009 at 11:10:48AM -0700, David Anderson wrote:
> - dependencies across directories are ignored in some cases.
> For example, if you make everything,
> then go to tools/ and touch backend_lib.cpp,
> make doesn't rebuild anything.
Why should it? The Makefile in tools/ has no mention of backend_lib.cpp.
Remember, computers do what you tell them not what you wish :-)
> If any autoconf/automake experts can figure this out, let me know.
Move backend_lib.(cpp|h) to sched/, together with
process_result_template.cpp. It makes no sense to have them in tools/.
If you really want to do cross-directory references (the C++ stuff in
db/ has the same problem as backend_lib.cpp and I can imagine you do not
want to move it under sched/), then IMHO the correct thing would be to
create a libboinc_db libtool convenience archive (not a real library!)
in db/, and link libsched with this convenience archive instead of
directly referencing the source files.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.