summaryrefslogtreecommitdiffstats
path: root/src/windows/cns
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1997-08-05 22:45:23 +0000
committerTheodore Tso <tytso@mit.edu>1997-08-05 22:45:23 +0000
commitea71553988990010a921976133c36b0b81fc5046 (patch)
tree1cfe6d49943e3778bad914a4058e87fd7fc0a2c8 /src/windows/cns
parentd21b19b2280e6877ed5d01d11b29bbb8f7fb5149 (diff)
downloadkrb5-ea71553988990010a921976133c36b0b81fc5046.tar.gz
krb5-ea71553988990010a921976133c36b0b81fc5046.tar.xz
krb5-ea71553988990010a921976133c36b0b81fc5046.zip
Makefile.in, cnsres5.rc: Add a version resource to the executable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10155 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/cns')
-rw-r--r--src/windows/cns/ChangeLog5
-rw-r--r--src/windows/cns/Makefile.in12
-rw-r--r--src/windows/cns/cnsres5.rc3
3 files changed, 12 insertions, 8 deletions
diff --git a/src/windows/cns/ChangeLog b/src/windows/cns/ChangeLog
index 85f44e31d6..d6c555f2e8 100644
--- a/src/windows/cns/ChangeLog
+++ b/src/windows/cns/ChangeLog
@@ -1,3 +1,8 @@
+Tue Aug 5 18:44:45 1997 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * Makefile.in, cnsres5.rc: Add a version resource to the
+ executable.
+
Mon Jul 28 23:33:11 1997 Theodore Y. Ts'o <tytso@mit.edu>
* Makefile.in: Take out the /nod option, and remove libc.lib from
diff --git a/src/windows/cns/Makefile.in b/src/windows/cns/Makefile.in
index 130e8ad2b7..8d4a6f26b7 100644
--- a/src/windows/cns/Makefile.in
+++ b/src/windows/cns/Makefile.in
@@ -13,8 +13,7 @@ KRB = KRB$(KVERSION)
BUILDTOP =..\..
INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
-##WIN16##XOBJS = kpasswd.obj
-##WIN32##XOBJS = cnsres5.obj kpasswd.obj
+##DOS##XOBJS = kpasswd.obj
CFLAGS = $(CCOPTS2) $(INCLUDES) /D$(KRB)=1
@@ -34,13 +33,10 @@ all:: makefile $(NAME).exe
$(NAME).exe: $*.def $(OBJS) $(XOBJS) $(LIBS)
##WIN16## $(LINK) $(LFLAGS) $(OBJS) $(XOBJS), $@, $*.map, \
##WIN16## $(LIBS) $(SYSLIBS), $*.def
-##WIN16## $(RC) $(RFLAGS) /k cnsres5.rc $@
+##WIN16## $(RC) $(RFLAGS) /k -DKRB5_APP cnsres5.rc $@
+##WIN32## $(RC) $(RFLAGS) /r -D_WIN32 -DKRB5_APP cnsres5.rc
##WIN32## $(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(XOBJS) \
-##WIN32## $(LIBS) $(SYSLIBS)
-
-##WIN32##.rc.obj:
-##WIN32## $(RC) $(RFLAGS) /r $*.rc
-##WIN32## $(CVTRES) /nologo /out:$*.obj $*.res
+##WIN32## $(LIBS) $(SYSLIBS) cnsres5.res
install::
$(CP) $(NAME).exe $(DESTDIR)
diff --git a/src/windows/cns/cnsres5.rc b/src/windows/cns/cnsres5.rc
index a62c682b39..e29ab5ac5b 100644
--- a/src/windows/cns/cnsres5.rc
+++ b/src/windows/cns/cnsres5.rc
@@ -1,5 +1,6 @@
//Microsoft Developer Studio generated resource script.
//
+// XXX Since modified by hand!
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
@@ -208,3 +209,5 @@ END
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
+
+#include "..\version.rc"