gdr-ftp 150b2eb2e2
- with the modified, we don't need the .SOURCE
	- change the definition of OBJS somewhat so that they are
	  always fully pathed in the $(OBJ_DIR) directory
	- for utils with both BSD and GNO man pages, make sure we
	  install the GNO one
	- conditionally define MAINSRC so that we can override it
	  if necessary.  By default MAINSRC is $(MAIN).c
	- don't assume MAINSRC is $(MAIN).c
	- don't assume the compiled rez fork is in the current directory
	- add default target for creating object files in the $(OBJ_DIR)
	- don't relink the executable if it just needs a new resource fork
	- changed targets to allow for the BSD/GNO man page duality
	- assume the built program is in the $(OBJ_DIR)
	- eliminate describe actions from the 'install' target
	- don't include if CUSTOM_RULES is defined and
1998-02-15 19:44:03 +00:00

53 lines
1.8 KiB

# gno/
# Top-level configuration for building GNO and making a release. This
# file is used to specify the various path names used by the build/release
# process. It need not be shipped with a binaries-only GNO distribution.
# Devin Reade, 1997
# $Id:,v 1.6 1998/02/15 19:44:01 gdr-ftp Exp $
# SRC_DIR is the top-level GNO source distribution directory (containing
# $(SRC_DIR)/gno, $(SRC_DIR)/gno/lib, and so forth). It also corresponds
# to the top level of the CVS repository.
# I recommend using /src and defining it in /etc/namespace.
# OBJ_DIR can be used to store the resulting object and binary files on
# a separate partition from the source. This is very handy when the
# source is stored on an AppleShare volume. If you don't need this
# feature, you can either define /obj in /etc/namespace to be the same
# as /src, or simply comment out the OBJ_DIR line here.
SRC_DIR = /src
CWD = $(PWD:s,:,/,g)
OBJ_DIR = /obj$(CWD:s,${SRC_DIR},,)
# RELEASE_DIR is the directory into which we will put the created
# distribution files.
# I recommend using /dist and defining it in /etc/namespace.
# ORCA_DIST is the directory containing the standard Orca distribution.
# It shouldn't contain any GNO-isms.
ORCA_DIST = /lang/orca
# ORCA_SRC is the directory containing the sources to the ORCA libraries
# This is (and should only be) used when building libc. We do this kludge
# to avoid backward references during linking.
ORCA_SRC = /src/lib/orcalibs/Source
# These are the directories that will wind up becoming the distributions
# disks. We want to be able to ship on floppy, although the preferred
# method will be via ftp.
DISK1 = $(DISKS)/gno.disk1
DISK2 = $(DISKS)/gno.disk2
DISK3 = $(DISKS)/gno.disk3