Date: Wed, 6 Feb 2008 10:49:46 -0500 From: "Jim Stapleton" <stapleton.41@gmail.com> To: freebsd-questions@freebsd.org Subject: ports makefile stuff (bsd.lib.mk) Message-ID: <80f4f2b20802060749p60c9d0ddw83b1ecbbed19db47@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
In my efforts to make some libraries, I looked up the documentation, and found bsd.lib.mk does in fact make my life a lot easier. However, I have a few questions. 1) Initially, this library will actually build several sublibraries. To keep my code neat, each library has it's own source directory. However, I also want to make cross linking easier and less prone to "oops, I forgot to add the library's directory to the lib path list" issues, so under the source directory I made an 'objs' directory, where I was manually putting the output. Is there a way to simply have the final output files sent to that directory? 2) How likely is it to cause compatibility erros if I simply go through the bsd.lib.mk file, and grab out all of the parts I need, and manually assemble them into my makefile? i.e. does this makefile vary much from release-to-release/hardware-to-hardware? Thanks, -Jim Stapleton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20802060749p60c9d0ddw83b1ecbbed19db47>