From 61c3737c7c8ec8e7edc610acb73c9b0ec36ea13b Mon Sep 17 00:00:00 2001
From: Norm Jacobs <Norm.Jacobs@Sun.COM>
Date: Thu, 10 Jun 2010 22:06:28 +0200
Subject: [PATCH] update _DATE/_TIME compiler chatter reduction bits. make env a macro

---
 tools/Makefile |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/tools/Makefile b/tools/Makefile
index aed2831..78aa7dd 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -23,7 +23,20 @@
 
 include ../make-rules/shared-macros.mk
 
-download setup prep build install publish validate:	time.o
+download setup prep build install publish validate:	time-$(MACH32).so \
+							time-$(MACH64).so
 
-clean clobber:
-	$(RM) time.o
+time-$(MACH64).o:			BITS=64
+time-$(MACH32).o time-$(MACH64).o:	CFLAGS += -Kpic
+
+time-$(MACH32).o time-$(MACH64).o:	time.c
+	$(CC) $(CFLAGS) -c -o $@ $<
+
+time-%.so:	time-%.o
+	$(LD) -G -o $@ $<
+
+clean:
+	$(RM) time-*.o
+
+clobber:	clean
+	$(RM) time-*.so

--
Gitblit v1.9.3