On Tue, 2002-02-19 at 18:32, Pankaj wrote:
>       I was wondering if anyone would put some  light over the
>       way 'make' works in freeBSD
>       I mean when i go to /usr/ports/XYZ and type make it tries
>       to fetch the sources and then compiles it
>       Is  it a  feature in make?
> 
>       I want to make an covering layer over a software such that
>       it automaticaly locates the components it needs and compiles
>       them without the user to look around for them.

The ports tree uses several (large) makefile fragments in /usr/ports/Mk.
If you look at the bottom of each port makefile you will see ".include
<bsd.port.mk>" (although some use pre and post instead if they are
complicated).

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to