summaryrefslogtreecommitdiffstats
path: root/internal_comp_deps.mk
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-12-07 21:25:50 +0000
committerRich Megginson <rmeggins@redhat.com>2005-12-07 21:25:50 +0000
commit6d06e77ac87bd2048c06cf78af414bcca6b8077f (patch)
treed17148b1e6ab7f2035c09f5531dc7c9b6d08cbea /internal_comp_deps.mk
parent8905e03a05d67cbea9df347cd78cb2231d577acc (diff)
downloadds-6d06e77ac87bd2048c06cf78af414bcca6b8077f.tar.gz
ds-6d06e77ac87bd2048c06cf78af414bcca6b8077f.tar.xz
ds-6d06e77ac87bd2048c06cf78af414bcca6b8077f.zip
Bug(s) fixed: 175053
Bug Description: The BUILD_BOMB is on by default Reviewed by: Nathan (Thanks!) Fix Description: Move the pumpkin and build bomb stuff into the internal makefiles. If you want the build bomb on, you have to set BUILD_PUMPKIN=1 on the make command line. The diff also contains some of the versioning for 1.0 to 1.0.1. Platforms tested: Fedora Core 4 Flag Day: no Doc impact: no
Diffstat (limited to 'internal_comp_deps.mk')
-rw-r--r--internal_comp_deps.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal_comp_deps.mk b/internal_comp_deps.mk
index 847c26ce..9a35cb8f 100644
--- a/internal_comp_deps.mk
+++ b/internal_comp_deps.mk
@@ -45,6 +45,13 @@
BUILD_MODE = ext
+ifdef BUILD_PUMPKIN
+PUMPKIN_AGE := 120
+#BUILD_BOMB=
+BUILD_BOMB=-DPUMPKIN_HOUR=$(shell cat $(BUILD_ROOT)/pumpkin.dat)
+BOMB=$(BUILD_BOMB)
+endif # BUILD_PUMPKIN
+
ifndef NSPR_SOURCE_ROOT
NSPR_IMPORT = $(COMPONENTS_DIR)/nspr20/$(NSPR_RELDATE)/$(FULL_RTL_OBJDIR)
NSPR_DEP = $(NSPR_LIBPATH)/libnspr4.$(LIB_SUFFIX)
@@ -732,3 +739,11 @@ endif
then echo "Error: could not get component NT4SYNC files $@" ; \
fi
# Windows sync component for NT4
+
+# BUILD_BOMB stuff
+PUMPKIN_TARGET = pumpkin
+$(PUMPKIN_TARGET):
+ifdef BUILD_PUMPKIN
+ @echo NSOS_RELEASE is: $(NSOS_RELEASE)
+ $(PERL) pumpkin.pl $(PUMPKIN_AGE) pumpkin.dat
+endif # BUILD_PUMPKIN