gno/binconst.mk
gdr 8774b23e30 - got binrules.mk, binconst.mk, and prog.mk working together properly
- reduce the number of shell meta characters in recipes
- use catrez instead of copyfork
1997-09-24 06:43:53 +00:00

36 lines
810 B
Makefile

#
# Compilation constants for utilities (directories ./bin, ./sbin,
# ./usr.bin, ./usr.sbin). These are not used when building the libraries.
#
# $Id: binconst.mk,v 1.2 1997/09/24 06:43:52 gdr Exp $
#
# Devin Reade, 1997.
#
DEFINES +=
CFLAGS += -w
LDFLAGS +=
LDLIBS +=
# WARNING: You *must* use descu v1.0.4 or later for these builds.
DESCU = /usr/sbin/descu
COPYFORK = /usr/orca/bin/copyfork
CATREZ = /usr/bin/catrez
INSTALL = /usr/bin/install
# $(DESC_SRC) is the created source file for the describe(1) database.
DESC_DIR = $(RELEASE_DIR)/usr/lib
DESC_SRC = $(DESC_DIR)/describe.src
# If no source files were defined, use program name
.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)