From owner-freebsd-questions Mon May 19 11:39:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA10238 for questions-outgoing; Mon, 19 May 1997 11:39:41 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA10223 for ; Mon, 19 May 1997 11:39:31 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id SAA05992; Mon, 19 May 1997 18:39:28 GMT Date: Mon, 19 May 1997 11:39:28 -0700 (PDT) From: Dan Busarow To: "Jeffrey M. Metcalf" cc: questions@FreeBSD.ORG Subject: Re: Q: Development questions on FreeBSD In-Reply-To: <337F7B25.41C67EA6@snet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 18 May 1997, Jeffrey M. Metcalf wrote: > I would like to get into some more serious software development on > FreeBSD, but I need to learn some of the basics. For now, I was > wondering how some of the complex makefiles I see in the FreeBSD > ports are generated. Does the developer actually do this by hand? You could write an Imakefile and use xmkmf to gen the Makefile but I do it by hand. Complex systems grow slowly, so the Makefile starts out quite simple, you can use a standard template, and grows module by module as you add source to the project. There are probably tools out there, other than imake, to build your makefiles for you but I've never seen a need. I have one Makefile that is almost 3000 lines long, and very few of those are comments. Three or four years ago it was probably only a 100 lines long. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82