So I'm using autogen/autoopts in a plugin based architecture, where each plugin contains it's own plugin_opts.def file. Each plugin is in it's own subdir... sorta like:
/program_opts.def /plugins/plugin_opts.def /plugins/foo/foo_opts.def /plugins/bar/bar_opts.def /plugins/baz/baz_opts.def program_opts.def has: #include plugins/plugin_opts.def and plugin_opts.def has: #include foo/foo_opts.def #include bar/bar_opts.def #include baz/baz_opts.def Problem is that "autogen program_opts.def" complains it can't find any of the #include'd files. The solution is: program_opts.def has: #include plugin_opts.def and plugin_opts.def has: #include foo_opts.def #include bar_opts.def #include baz_opts.def autogen -L ./plugins -L ./plugins/bar -L ./plugins/baz -L ./plugins/foo program_opts.def Not only is this ugly, it means I have to expose the full list of plugins to the program which really sucks from a maintenance perspective. I'm trying to allow other people to write plugins and obviously the fewer Makefile's they have to touch the better. Was this intentional? If not, is there a workaround? Thanks, Aaron -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Autogen-users mailing list Autogen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/autogen-users