From ea71553988990010a921976133c36b0b81fc5046 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 5 Aug 1997 22:45:23 +0000 Subject: [PATCH] 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 --- src/windows/cns/ChangeLog | 5 +++++ src/windows/cns/Makefile.in | 12 ++++-------- src/windows/cns/cnsres5.rc | 3 +++ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/windows/cns/ChangeLog b/src/windows/cns/ChangeLog index 85f44e31d..d6c555f2e 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 + + * Makefile.in, cnsres5.rc: Add a version resource to the + executable. + Mon Jul 28 23:33:11 1997 Theodore Y. Ts'o * 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 130e8ad2b..8d4a6f26b 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 a62c682b3..e29ab5ac5 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" -- 2.26.2