WHAT'S NEW with version 0.0.2: - Again thanks to Eric Youngdale for some very useful comments. - The Windows startup code created by Micrsoft C 7.0 now runs to completion. - Added a new patch to the kernel to increase the usable size of the ldt to the full 32 entries currently allowed. - Imported name relocations are now supported. - Source code for my infamous test program is now included. - A handful of basic Windows functions are now emulated. See "kernel.spec" for examples of how to use the build program. WHAT'S NEW with version 0.0.1: - Eric Youngdale contributed countless improvements in memory efficiency, bug fixes, and relocation. - The build program has been completed. It now lets you specify how the main DLL entry point should interface to your emulation library routines. A brief description of how to build these specifications is included in the file "build-spec.txt". - The code to dispatch builtin DLL calls is complete, but untested.
47 lines
977 B
Makefile
Executable file
47 lines
977 B
Makefile
Executable file
####################################################################
|
|
#
|
|
# PPI standard windows makefile
|
|
#
|
|
####################################################################
|
|
|
|
####################################################################
|
|
#
|
|
# Compiler options
|
|
#
|
|
AFLAGS=/ML /LA
|
|
CFLAGS=-AM -Ozaxb2 -Gr -G2 -Zpei -W3 -DWINVER=0x0301
|
|
LFLAGS=/CO
|
|
|
|
####################################################################
|
|
#
|
|
# Object files and target
|
|
#
|
|
OBJS=main.obj
|
|
DIALOGS=
|
|
TARGET=winetest
|
|
|
|
####################################################################
|
|
#
|
|
# Standard rules
|
|
#
|
|
ROOTS=$(OBJS:.obj=)
|
|
|
|
all: $(TARGET).exe
|
|
|
|
version:
|
|
coall -r$(RELEASE)
|
|
$(MAKE) all
|
|
|
|
$(TARGET).res: $(TARGET).rc $(TARGET).h $(DIALOGS)
|
|
rc -r $(TARGET).rc
|
|
|
|
$(TARGET).exe: $(TARGET).res $(TARGET).def $(TARGET).h $(OBJS)
|
|
link @<<
|
|
$(ROOTS) /NOD $(LFLAGS)
|
|
$@
|
|
$(TARGET) /MAP:FULL
|
|
libw slibcewn oldnames
|
|
$(TARGET).def
|
|
<<
|
|
rc -30 $(TARGET).res
|
|
|