From ad3c512ae223c4f24c6927f90aaf8be8168f4907 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Fri, 23 Apr 1999 05:27:49 +0000 Subject: [PATCH] added resource script with version information to distinguish from MS svn path=/trunk/; revision=406 --- reactos/lib/kernel32/.cvsignore | 1 + reactos/lib/kernel32/makefile | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/reactos/lib/kernel32/.cvsignore b/reactos/lib/kernel32/.cvsignore index ed5907b2acd..08b1a5fe188 100644 --- a/reactos/lib/kernel32/.cvsignore +++ b/reactos/lib/kernel32/.cvsignore @@ -1,6 +1,7 @@ kernel32.a kernel32.dll kernel32.lib +kernel32.coff base.tmp junk.tmp temp.exp diff --git a/reactos/lib/kernel32/makefile b/reactos/lib/kernel32/makefile index d8752020c86..4013cb11bb2 100644 --- a/reactos/lib/kernel32/makefile +++ b/reactos/lib/kernel32/makefile @@ -55,10 +55,13 @@ INTERNAL_OBJECTS = internal/dprintf.o internal/string.o EXCEPT_OBJECTS = except/except.o +RESOURCE_OBJECT = kernel32.coff + OBJECTS = $(MISC_OBJECTS) $(FILE_OBJECTS) $(THREAD_OBJECTS) \ $(PROCESS_OBJECTS) $(STRING_OBJECTS) $(MEM_OBJECTS) \ - $(INTERNAL_OBJECTS) $(SYNCH_OBJECTS) $(EXCEPT_OBJECTS) + $(INTERNAL_OBJECTS) $(SYNCH_OBJECTS) $(EXCEPT_OBJECTS) \ + $(RESOURCE_OBJECT) ifeq ($(DOSCLI),yes) CLEAN_FILES = except\*.o file\*.o internal\*.o mem\*.o misc\*.o nls\*.o \ @@ -73,6 +76,9 @@ endif nls/ole2nls.o: nls/ole2nls.c $(CC) $(CFLAGS) -I. nls/ole2nls.c +kernel32.coff: kernel32.rc ../../include/reactos/resource.h + windres kernel32.rc kernel32.coff + kernel32.a: $(OBJECTS) $(AR) csr kernel32.a $(OBJECTS)