summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-04-20 17:59:30 +0000
committerKeith Vetter <keithv@fusion.com>1995-04-20 17:59:30 +0000
commit2751d198fc6ea83ec19129f2e1716f3faf3886be (patch)
treeaf78dd82b890d1334d2aab0e8b10e58cd5b33044
parent8b70df54f52aa1132e99aa1a285c18fe6355fa44 (diff)
downloadkrb5-2751d198fc6ea83ec19129f2e1716f3faf3886be.tar.gz
krb5-2751d198fc6ea83ec19129f2e1716f3faf3886be.tar.xz
krb5-2751d198fc6ea83ec19129f2e1716f3faf3886be.zip
Some top level makefile changes for the PC--does some of the Makefile
configuring on the Unix side versus the PC side. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5396 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/ChangeLog7
-rw-r--r--src/Makefile.in35
2 files changed, 27 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 51cb18ab8..9f8f0fc2c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+Wed Apr 19 18:32:04 1995 Keith Vetter (keithv@fusion.com)
+
+ * Makefile.in:
+ removed need for this file to be configured on the PC.
+ zipping up for PC copies makefile.in to makefile so that on
+ the PC you just need to type 'nmake' to build it.
+
Fri Apr 14 21:21:28 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
* aclocal.m4 (_MAKE_SUBDIRS): If there is an error while making in
diff --git a/src/Makefile.in b/src/Makefile.in
index af7bec4f2..8e2433512 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,8 +1,5 @@
CFLAGS = $(CCOPTS) $(DEFS)
-##DOSBUILDTOP = .
-##DOS!include $(BUILDTOP)\config\windows.in
-
prefix = /usr/local
exec_prefix = $(prefix)
binprefix =
@@ -81,7 +78,7 @@ TAGS: $(SRCS)
clean:: clean-$(WHAT)
-clean-:: clean-unix
+clean-:: clean-windows
clean-mac:: clean-unix
clean-unix::
$(RM) *.o core
@@ -108,7 +105,7 @@ dist: $(DISTFILES)
# Macintosh build process...
-# Build all things for the Mac build, which need to be built on
+# Build all things for the Mac build, which need to be built on
# Unix first.
unixmac:
(cd lib/krb5/error_tables; make -f Makefile.in unixmac)
@@ -116,11 +113,15 @@ unixmac:
# Microsoft Windows build process...
-
#
-# Windows configuration
-#
-makefile-windows:: wconfig.c config\pre.in config\post.in makefile.in \
+
+config-windows:: makefile-windows
+ @echo Making in include
+ cd include
+ -$(MAKE) -$(MAKEFLAGS)
+ cd ..
+
+makefile-windows:: wconfig.exe config\pre.in config\post.in \
include\makefile.in include\krb5\makefile.in \
lib\makefile.in lib\crypto\makefile.in \
lib\crypto\crc32\makefile.in lib\crypto\des\makefile.in \
@@ -137,10 +138,6 @@ makefile-windows:: wconfig.c config\pre.in config\post.in makefile.in \
lib\krb5\os\makefile.in lib\krb5\posix\makefile.in \
lib\krb5\rcache\makefile.in \
util\et\makefile.in
- SET CL=/nologo
- $(CC) /AL wconfig.c
- copy Makefile Makefile.bak
- .\wconfig config <makefile.in >makefile
.\wconfig config <include\makefile.in >include\makefile
.\wconfig config <include\krb5\makefile.in >include\krb5\makefile
.\wconfig config <lib\makefile.in >lib\makefile
@@ -168,7 +165,11 @@ makefile-windows:: wconfig.c config\pre.in config\post.in makefile.in \
.\wconfig config <lib\krb5\posix\makefile.in >lib\krb5\posix\makefile
.\wconfig config <lib\krb5\rcache\makefile.in >lib\krb5\rcache\makefile
.\wconfig config <util\et\makefile.in >util\et\makefile
- config\rm.bat wconfig.obj wconfig.exe msvc.pdb
+ config\rm.bat wconfig.obj msvc.pdb
+
+wconfig.exe: wconfig.c
+ SET CL=/nologo
+ $(CC) /AL wconfig.c
clean-windows::
@echo Making clean in include
@@ -189,7 +190,7 @@ clean-windows::
#
# Builds the zip file that distributes Kerberos sources for DOS sites
-# from the source tree on Unix.
+# from the source tree on Unix.
#
ZIPFILES= ./* \
config/* include/* include/krb5/* include/krb5/asn.1/* \
@@ -213,9 +214,13 @@ ZIPEXCLUDE= LIB/KRB5.SAB \
*.O *.A
kerbsrc.zip: awk-windows
+ rm -f Makefile.bak
+ mv Makefile Makefile.bak
+ cp Makefile.in Makefile
rm -f kerbsrc.zip
zip -Dlk kerbsrc.zip $(ZIPFILES) -x $(ZIPEXCLUDE)
zip -Dk kerbsrc.zip $(ZIPBINARYFILES)
+ cp Makefile.bak Makefile
#
# Part of building the PC release has to be done on Unix. This includes
# anything the requires awk.