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