summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorDanilo Almeida <dalmeida@mit.edu>1999-05-19 16:18:30 +0000
committerDanilo Almeida <dalmeida@mit.edu>1999-05-19 16:18:30 +0000
commitbd08f80e40c6cbb63520869f5be3f1d832cc7865 (patch)
tree0923af367f9c5561bf021c83314576b9859451f6 /src/config
parent6b6c052bcdaa702e26b3a4560cf6f4c53a0621ec (diff)
These are a bunch of intertwined changes to the windows build.
This log message includes all of the different changes across several Makefile.in files (and win-pre.in and win-post.in): - Remove "-" from recursive windows make invocations so that we can bail on a build error. New MIGNORE option restores the previous bailing behavior. - Update windows readme to reflect current practices. - Add NO_OUTDIR synonym for NO_OUTPRE in windows build. - Top-level windows Makefile now builds util which now builds util/windows, util/et, and util/profile (instead of building them directly). - Remove trailing backslash from rule that creates the windows output dir. This backslash would cause the rule to always be invoked. - Move WCONFIG and WCONFIG_EXE definitions into win-pre.in. - Remove rules in include directory that blindly copy include header files from gssapi, et, and profile. Instead, use/add build rules to the components that generate them that copy only when the file changes. - Use dependencies in include/krb5 to copy header files instead of blindly copying them. Add !if 0/!endif wrapper to Unix version of the rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11464 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ChangeLog9
-rw-r--r--src/config/win-post.in8
-rw-r--r--src/config/win-pre.in8
3 files changed, 20 insertions, 5 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index 9df6575e4..a696d2895 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -1,3 +1,12 @@
+Tue May 18 20:06:01 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * win-pre.in, win-pre.in: Remove trailing backslash from output
+ dir target in rule so rule is not always invoked if it
+ already exists. Add MIGNORE option if we really want make
+ to ignore errors from recursive invocations of make. Move
+ definition of WCONFIG and WCONFIG_EXE into win-pre.in.
+ Add NO_OUTDIR as synonym for NO_OUTPRE.
+
Mon May 17 20:45:05 1999 Danilo Almeida <dalmeida@mit.edu>
* win-post.in, win-pre.in, windows.in: Rename windows.in to
diff --git a/src/config/win-post.in b/src/config/win-post.in
index 71c1506e2..99fb81ac8 100644
--- a/src/config/win-post.in
+++ b/src/config/win-post.in
@@ -2,10 +2,10 @@
# Start of Win32 post-config lines (config/win-post.in)
#
-!ifndef NO_OUTPRE
-outpre-dir:: $(OUTPRE)
-!else
+!if defined(NO_OUTPRE) || defined(NO_OUTDIR)
outpre-dir::
+!else
+outpre-dir:: $(OUTPRE3)
!endif
#
@@ -27,7 +27,7 @@ DLL_FILE_DEF=/DKRB5_DLL_FILE
#(where there is already an explicit rule).
!if !defined(ZIP) && !defined(WINFILES)
Makefile: Makefile.in $(BUILDTOP)\config\win-pre.in $(BUILDTOP)\config\win-post.in
- $(BUILDTOP)\$(OUTPRE)wconfig $(BUILDTOP)\config < Makefile.in > Makefile
+ $(WCONFIG) $(BUILDTOP)\config < Makefile.in > Makefile
!endif
diff --git a/src/config/win-pre.in b/src/config/win-pre.in
index 25ecb8fc3..a41f905ab 100644
--- a/src/config/win-pre.in
+++ b/src/config/win-pre.in
@@ -50,7 +50,7 @@ OUTPRE2=$(OUTPRE1)\$(CPU)
OUTPRE3=$(OUTPRE2)\$(OUTPRE_DBG)
OUTPRE=$(OUTPRE3)^\
-$(OUTPRE):
+$(OUTPRE3):
-@if not exist $(OUTPRE1)\nul mkdir $(OUTPRE1)
-@if not exist $(OUTPRE2)\nul mkdir $(OUTPRE2)
-@if not exist $(OUTPRE3)\nul mkdir $(OUTPRE3)
@@ -125,6 +125,9 @@ AWK=rem
RC = rc
CVTRES = cvtres
+WCONFIG_EXE=$(BUILDTOP)\$(OUTPRE)wconfig.exe
+WCONFIG=$(WCONFIG_EXE:.exe=) $(WCONFIG_FLAGS)
+
CLIB=$(BUILDTOP)\lib\$(OUTPRE)comerr32.lib
PLIB=$(BUILDTOP)\lib\$(OUTPRE)xpprof32.lib
KLIB=$(BUILDTOP)\lib\$(OUTPRE)krb5_32.lib
@@ -142,6 +145,9 @@ OBJEXT=obj
EXEEXT=.exe
MFLAGS=$(MAKEFLAGS)
+!ifdef MIGNORE
+MAKE=-$(MAKE)
+!endif
{}.rc{$(OUTPRE)}.res:
$(RC) $(RCFLAGS) -fo $@ -r $<