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)