> > If it needed to use the Makefile.ast* logic, it would live under lib/ast. > > Otherwise, it wouldn't. > > Uhm... IMHO that's wrong. Subdirs should be project-specific (if there > is a strong need (and good justification) for such a thing (which I > don't see for libshell&co. - remeber both AST and Solaris's base code > (System V) share the same origin)) and not based on the underlying APIs > used by the code.
I don't quite understand what you're getting at. If several libraries share requirements for things such as the way lint should be handled or the way internationalization should be done, then organizing the source tree such that those requirements can be implemented by common Makefiles seems reasonable to me. But I also don't see this as a big deal. Having the Makefiles in lib/ directly seems OK. > > > and ROOTDEMODIRBASE depends on the demo source sitting in > > > "common/". > > > > Could it use $(SRCDIR) directly (and then one could conditionally override > > $(SRCDIR) for $(ROOTDEMOFILES) if necessary?) > > SRCDIR is not set in this level. We're talking about > usr/src/lib/lib*/Makefile, not usr/src/lib/lib*/$(TRANSMACH)/Makefile I'm confused why that is. Why lib*/Makefile rather than lib*/Makefile.com? -- meem _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
