From owner-freebsd-ports Thu Sep 5 14:46:34 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22520 for ports-outgoing; Thu, 5 Sep 1996 14:46:34 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA22512 for ; Thu, 5 Sep 1996 14:46:31 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <14408(6)>; Thu, 5 Sep 1996 14:45:59 PDT Received: by crevenia.parc.xerox.com id <177595>; Thu, 5 Sep 1996 14:45:50 -0700 From: Bill Fenner To: ports@freebsd.org Subject: How to build port with no top-level Makefile? Message-Id: <96Sep5.144550pdt.177595@crevenia.parc.xerox.com> Date: Thu, 5 Sep 1996 14:45:50 PDT Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I am trying to build a new port with no top-level Makefile. The package is meant to be built on multiple OS's so has subdirectories for each platform, and all the makefiles refer to ../src/..., etc. What I'm doing for now is putting a "files/Makefile" that has all install clean: cd freebsd; $(MAKE) $@ and a scripts/configure that copies that to ${WRKSRC}. Is there a better way to do this? (I first tried using bsd.subdir.mk but the port requires GMAKE) Thanks, Bill