summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/Makefile4
-rw-r--r--etc/defaults/make.conf23
-rw-r--r--etc/make.conf23
-rw-r--r--share/examples/etc/make.conf23
4 files changed, 71 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 2c4cdb9..260f27c 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
-# $Id: Makefile,v 1.59 1994/05/19 12:29:28 rgrimes Exp $
+# $Id: Makefile,v 1.60 1994/05/19 18:06:46 guido Exp $
NOOBJ= noobj
@@ -12,7 +12,7 @@ BIN1= aliases csh.cshrc csh.login csh.logout dm.conf \
inetd.conf login.access manpath.config motd myname netstart \
networks phones printcap protocols rc rc.local remote \
security services shells skey.access \
- syslog.conf ttys etc.${MACHINE}/disktab rpc
+ syslog.conf ttys etc.${MACHINE}/disktab rpc make.conf
# -rw-rw-rw-
BIN2= motd
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
new file mode 100644
index 0000000..a5eab19
--- /dev/null
+++ b/etc/defaults/make.conf
@@ -0,0 +1,23 @@
+# $Id$
+#
+# This file, if present, will be read by make (see /usr/share/mk/sys.mk)
+# It allows you to override macro definitions to make, without changing
+# in your source tree, or anything the source tree installs.
+#
+# You have to find the things you can put here in the Makefiles and
+# documentation of the source tree.
+#
+# This file must have a syntax as a Makefile.
+#
+# One, and probably the most common, use could be:
+#
+#CFLAGS= -O -m486 -pipe
+# A lot of people report that -O2 works fine, but there are known
+# bugs in gcc. -pipe will almost always speed up compilation.
+#
+#
+# Another useful entry could be:
+#
+#NOPROFILE= no_way
+# Avoid compiling profiled libraries
+#
diff --git a/etc/make.conf b/etc/make.conf
new file mode 100644
index 0000000..a5eab19
--- /dev/null
+++ b/etc/make.conf
@@ -0,0 +1,23 @@
+# $Id$
+#
+# This file, if present, will be read by make (see /usr/share/mk/sys.mk)
+# It allows you to override macro definitions to make, without changing
+# in your source tree, or anything the source tree installs.
+#
+# You have to find the things you can put here in the Makefiles and
+# documentation of the source tree.
+#
+# This file must have a syntax as a Makefile.
+#
+# One, and probably the most common, use could be:
+#
+#CFLAGS= -O -m486 -pipe
+# A lot of people report that -O2 works fine, but there are known
+# bugs in gcc. -pipe will almost always speed up compilation.
+#
+#
+# Another useful entry could be:
+#
+#NOPROFILE= no_way
+# Avoid compiling profiled libraries
+#
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
new file mode 100644
index 0000000..a5eab19
--- /dev/null
+++ b/share/examples/etc/make.conf
@@ -0,0 +1,23 @@
+# $Id$
+#
+# This file, if present, will be read by make (see /usr/share/mk/sys.mk)
+# It allows you to override macro definitions to make, without changing
+# in your source tree, or anything the source tree installs.
+#
+# You have to find the things you can put here in the Makefiles and
+# documentation of the source tree.
+#
+# This file must have a syntax as a Makefile.
+#
+# One, and probably the most common, use could be:
+#
+#CFLAGS= -O -m486 -pipe
+# A lot of people report that -O2 works fine, but there are known
+# bugs in gcc. -pipe will almost always speed up compilation.
+#
+#
+# Another useful entry could be:
+#
+#NOPROFILE= no_way
+# Avoid compiling profiled libraries
+#
OpenPOWER on IntegriCloud