Skip site navigation (1)Skip section navigation (2)
Date:      19 Feb 2002 19:07:40 +1130
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Pankaj <pankaj@sarai.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: make in freebsd
Message-ID:  <1014104262.556.110.camel@chowder.gsoft.com.au>
In-Reply-To: <20020219080213.A7580@sarai.net>
References:  <20020219080213.A7580@sarai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1014104262.556.110.camel>