fixup commit for tag 'NSPRPUB_20000201' NSPRPUB_20000201
authorcvs2hg
Sat, 19 Feb 2000 03:02:54 +0000
changeset 1198 04820f204ec874f833dbcaa54616f0d6178f27bf
parent 1129 1d403fb1a470959b1170c17113d8e0267d735535
child 1199 bf09a4fbda050adc19711f5e2262885bd06c5d08
push idunknown
push userunknown
push dateunknown
fixup commit for tag 'NSPRPUB_20000201'
config/prdepend.h
config/rules.mk
new file mode 100644
--- /dev/null
+++ b/config/prdepend.h
@@ -0,0 +1,25 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/*
+ * The contents of this file are subject to the Netscape Public License
+ * Version 1.1 (the "NPL"); you may not use this file except in
+ * compliance with the NPL.  You may obtain a copy of the NPL at
+ * http://www.mozilla.org/NPL/
+ * 
+ * Software distributed under the NPL is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
+ * for the specific language governing rights and limitations under the
+ * NPL.
+ * 
+ * The Initial Developer of this code under the NPL is Netscape
+ * Communications Corporation.  Portions created by Netscape are
+ * Copyright (C) 2000 Netscape Communications Corporation.  All Rights
+ * Reserved.
+ */
+
+/*
+ * A dummy header file that is a dependency for all the object files.
+ * Used to force a full recompilation of NSPR in Mozilla's Tinderbox
+ * depend builds.  See comments in rules.mk.
+ */
+
+#error "Do not include this header file."
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -57,22 +57,24 @@ srcdir=.
 endif
 
 ifndef NSPR_CONFIG_MK
 include $(topsrcdir)/config/config.mk
 endif
 
 ifdef USE_AUTOCONF
 ifdef INTERNAL_TOOLS
+ifdef CROSS_COMPILE
 CC=$(HOST_CC)
 CCC=$(HOST_CXX)
 CFLAGS=$(HOST_CFLAGS)
 CXXFLAGS=$(HOST_CXXFLAGS)
 endif
 endif
+endif
 
 #
 # This makefile contains rules for building the following kinds of
 # libraries:
 # - LIBRARY: a static (archival) library
 # - SHARED_LIBRARY: a shared (dynamic link) library
 # - IMPORT_LIBRARY: an import library, used only on Windows and OS/2
 #