mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-11-18 19:09:31 +00:00
22fa70695a
- changed definition of OBJS to remove the full pathnames and to add to previous values of OBJS rather than to act as a default value binrules.mk: - backed out all v1.5 changes except for using $(MAINSRC) vice $(MAIN).c - added a recipe for building ProDOS-renamed object files paths.mk: - backed out v1.6 changes - added a macro, PRODOS_OBJS. If this is set to "true", then ProDOS-compliant file names will be used for object files.
64 lines
2.1 KiB
Makefile
64 lines
2.1 KiB
Makefile
#
|
|
# gno/paths.mk
|
|
#
|
|
# 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: paths.mk,v 1.7 1998/02/17 00:26:27 gdr-ftp Exp $
|
|
#
|
|
|
|
# This one isn't really a path, but it affects the creation of path
|
|
# names. If PRODOS_OBJS is set to "true" (minus the quotes), then the
|
|
# created object files will follow ProDOS naming conventions.
|
|
|
|
PRODOS_OBJS = true
|
|
|
|
# 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},,)
|
|
|
|
.SOURCE.a : $(OBJ_DIR)
|
|
.SOURCE.o : $(OBJ_DIR)
|
|
.SOURCE.r : $(OBJ_DIR)
|
|
.SOURCE.root : $(OBJ_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.
|
|
|
|
RELEASE_DIR = /dist
|
|
|
|
# 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.
|
|
|
|
DISKS = $(RELEASE_DIR)/disks
|
|
DISK1 = $(DISKS)/gno.disk1
|
|
DISK2 = $(DISKS)/gno.disk2
|
|
DISK3 = $(DISKS)/gno.disk3
|