summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-19 23:39:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-19 23:39:48 +0000
commit5f9dfa09818f5e1bca9370ea7848d281323cc2c6 (patch)
treee58bac7a12b16f62eeb493c5f698921d60241029
parenta0fa906aaddcf50610e2e169cc52ecb427c351ff (diff)
beautify
-rw-r--r--Rules.mak68
1 files changed, 35 insertions, 33 deletions
diff --git a/Rules.mak b/Rules.mak
index a9f500146..10e1aba42 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -18,17 +18,19 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#--------------------------------------------------------
-# This file contains rules which are shared between multiple Makefiles.
-# All normal configuration options live in the file named ".config".
-# Don't mess with this file unless you know what you are doing.
-
-
-#--------------------------------------------------------
-# If you are running a cross compiler, you will want to set 'CROSS'
-# to something more interesting... Target architecture is determined
-# by asking the CC compiler what arch it compiles things for, so unless
-# your compiler is broken, you should not need to specify TARGET_ARCH
+#-----------------------------------------------------------
+# This file contains rules which are shared between multiple
+# Makefiles. All normal configuration options live in the
+# file named ".config". Don't mess with this file unless
+# you know what you are doing.
+
+
+#-----------------------------------------------------------
+# If you are running a cross compiler, you will want to set
+# 'CROSS' to something more interesting ... Target
+# architecture is determined by asking the CC compiler what
+# arch it compiles things for, so unless your compiler is
+# broken, you should not need to specify TARGET_ARCH.
#
# Most people will set this stuff on the command line, i.e.
# make CROSS=arm-linux-
@@ -37,32 +39,32 @@
ifndef CROSS
CROSS=
endif
-CC= $(CROSS)gcc
-AR= $(CROSS)ar
-LD= $(CROSS)ld
-NM= $(CROSS)nm
-STRIPTOOL= $(CROSS)strip
-RANLIB= $(CROSS)ranlib
+CC = $(CROSS)gcc
+AR = $(CROSS)ar
+LD = $(CROSS)ld
+NM = $(CROSS)nm
+RANLIB = $(CROSS)ranlib
+STRIPTOOL = $(CROSS)strip
-INSTALL= install
-LN= ln
-RM= rm -f
+INSTALL = install
+LN = ln
+RM = rm -f
# Select the compiler needed to build binaries for your development system
-HOSTCC=gcc
-HOSTCFLAGS=-O2 -Wall
-
-
-#--------------------------------------------------------
-# Nothing beyond this point should ever be touched by mere mortals.
-# Unless you hang out with the gods, you should probably leave all
-# this stuff alone.
-MAJOR_VERSION:=0
-MINOR_VERSION:=9
-SUBLEVEL:=27
-VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
+HOSTCC = gcc
+HOSTCFLAGS = -O2 -Wall
+
+
+#---------------------------------------------------------
+# Nothing beyond this point should ever be touched by mere
+# mortals. Unless you hang out with the gods, you should
+# probably leave all this stuff alone.
+MAJOR_VERSION := 0
+MINOR_VERSION := 9
+SUBLEVEL := 27
+VERSION := $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
# Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
-LC_ALL:= C
+LC_ALL := C
export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so