mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-11 02:49:26 +00:00
initial checkin
This commit is contained in:
parent
397a3206ab
commit
b0cfaf1892
32
binconst.mk
Normal file
32
binconst.mk
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# Compilation constants for utilities (directories ./bin, ./sbin,
|
||||
# ./usr.bin, ./usr.sbin). These are not used when building the libraries.
|
||||
#
|
||||
# $Id: binconst.mk,v 1.1 1997/08/08 04:44:13 gdr Exp $
|
||||
#
|
||||
# Devin Reade, 1997.
|
||||
#
|
||||
|
||||
DEFINES +=
|
||||
CFLAGS += -v -w
|
||||
LDFLAGS += -v
|
||||
LDLIBS +=
|
||||
|
||||
COPYFORK = /usr/orca/bin/copyfork
|
||||
INSTALL = /usr/bin/install
|
||||
DESCU = /usr/sbin/descu
|
||||
|
||||
# This is the created source file for the describe(1) database.
|
||||
DESC_SRC = $(RELEASE_DIR)/usr/lib/describe.src
|
||||
|
||||
# Define SRCS if it's not already done.
|
||||
.IF $(SRCS) == $(NULL)
|
||||
SRCS = $(PROG).c
|
||||
.END
|
||||
|
||||
# Define DESC if it's not already done.
|
||||
.IF $(DESC) == $(NULL)
|
||||
DESC = $(PROG).desc
|
||||
.END
|
||||
|
||||
OBJS = $(SRCS:s/.c/.o/:f)
|
23
binrules.mk
Normal file
23
binrules.mk
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Standard compilation rules for utilities (directories ./bin, ./sbin,
|
||||
# ./usr.bin, ./usr.sbin). These are not used when building the libraries.
|
||||
#
|
||||
# $Id: binrules.mk,v 1.1 1997/08/08 04:44:13 gdr Exp $
|
||||
#
|
||||
# Devin Reade, 1997.
|
||||
#
|
||||
|
||||
build: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS) $(PROG).r
|
||||
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LDLIBS)
|
||||
$(COPYFORK) $(PROG).r $@ -r
|
||||
|
||||
clean:
|
||||
-$(RM) -f *.o
|
||||
-$(RM) -f *.root
|
||||
-$(RM) -f *.r
|
||||
-$(RM) -f *.rej
|
||||
|
||||
clobber: clean
|
||||
-$(RM) $(PROG)
|
60
paths.mk
Normal file
60
paths.mk
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# 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.1 1997/08/08 04:44:13 gdr 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.
|
||||
|
||||
SRC_DIR = /src
|
||||
|
||||
# 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.
|
||||
# I recommend using /orca-native and defining it in /etc/namespace.
|
||||
|
||||
ORCA_DIST = /orca-native
|
||||
|
||||
# INCLUDE_GNO is the directory containing only the header files (and subdirs
|
||||
# containing header files) that will be shipped with GNO. Normally, this
|
||||
# should be $(SRC_DIR)/gno/include
|
||||
|
||||
INCLUDE_GNO = $(SRC_DIR)/gno/include
|
||||
|
||||
# INCLUDE_ORCA is the directory containing the completely unmodified Orca/C
|
||||
# header files. (The current version is v2.1.1b2.) If a file in here
|
||||
# requires modifications, it should be copied into $(INCLUDE_GNO) and edited
|
||||
# there. Presumably, INCLUDE_ORCA is $(ORCA_DIST)/libraries/orcacdefs.
|
||||
|
||||
INCLUDE_ORCA = $(ORCA_DIST)/libraries/orcacdefs
|
||||
|
||||
# INCLUDE_GNO_ALT is a directory residing on an HFS volume. It is used for
|
||||
# those header files which have ProDOS-incompatible file names. These
|
||||
# headers are actually "links" to the "real" headers, which reside in the
|
||||
# $(INCLUDE_GNO) hierarchy.
|
||||
# I recommend using /HFS-src/HFSinclude and defining /HFS-src in /etc/namespace.
|
||||
|
||||
INCLUDE_GNO_ALT = /HFS-src/HFSinclude
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user