On Tue, 02 Jun 2009 18:12:49 -0400 Norman Ramsey wrote: > > for most non-ast packages a :PACKAGE: assertion at the top of > > the makefile should take care of the -I -L -l option generation > > e.g., for X11 builds > > > > :PACKAGE: - X11 > > > > the "-" means that X11 is not the main package > > the main package controls where headers are installed > > this will also add -lX11 as a prerequisite to all command :: assertions
> How is this functionality implemented? > What part of nmake's source code should I inspect? > > if :PACKAGE: doesn't find a package you can help it with PACKAGE_foo, > > PACKAGE_foo_INCLUDE, PACKAGE_foo_LIB path name variables in the environment > The process of crawling the filesystem to find the values of these > variables is part of what I'm trying to automate... its all done in the nmake base rules Makerules.mk that file is not for the faint of heart anyway are you trying to 1) use nmake :PACKAGE: or 2) replicate what nmake :PACKAGE: does without using nmake or 3) fix a problem with nmake :PACKAGE: or ? _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
