This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

View File

@@ -0,0 +1,16 @@
# If no CPUTYPE variable is defined, then we are running on a DOS system
# so lets whack in some flags and switches to match the NTWIN32.MAK
# settings:
srcdir=..
model=S
rc=rc
hcopts = -n
cc = cl
cdebug = -Zipel -Od
cflags = -c -A$(model) -Gsw -W3 $(cdebug) -DUSE_X_LIB
cvars = -D$(ENV)
linkdebug =
link = link $(linkdebug)
guiflags = /NOE /NOD /CO /align:16
guilibs = libw $(model)libcew ver commdlg
guilibsdll = libw $(model)dllcew ver commdlg

View File

@@ -0,0 +1,58 @@
!IF "$(CPU)" != ""
OS=NT
ENV=WIN32
!ELSE
OS=DOS
ENV=WIN16
!ENDIF
# Environment variables LIB and INCLUDE should point to your Win SDK libraries
# and include files.
# Define WINTAB to point to your wintab development tree
# Example: WINTAB=c:\wintab
WINTAB=..\..\..
!include "$(OS)$(ENV).MAK"
cinclude=-I$(srcdir) -I$(WINTAB)\include
proj = RULE2
all: $(proj).exe
# force a complete rebuild from source.
cleanall: clean
-del *.exe
#clean up everything but the .EXEs.
clean:
-del *.res
-del *.?bj
-del *.map
# Update the resource if necessary
$(proj).res: $(srcdir)\$(proj).rc $(srcdir)\$(proj).dlg $(srcdir)\$(proj).h
$(rc) $(cinclude) $(rcvars) -r -fo $(proj).res $(cvars) $(srcdir)\$(proj).rc
!IF defined(CPUTYPE)
cvtres -$(CPU) $(proj).res -o $(proj).rbj
!ENDIF
# Update the object file if necessary
$(proj).obj: $(srcdir)\$(proj).c $(srcdir)\$(proj).h
$(cc) $(cflags) $(cinclude) $(cvars) $(cdebug) $(srcdir)\$(proj).c
# Since the link line has some severe differences depending on what
# platform we are running on, we need to special case this so that
# we execute the correct commands:
$(proj).exe: $(proj).obj $(proj).res $(proj).def
!if defined(CPUTYPE)
# This is for Windows NT:
$(link) $(linkdebug) $(guiflags) $(proj).obj $(WINTAB)\lib\$(CPU)\wintab32.lib $(guilibs) VERSION.LIB $(proj).rbj -out:$(proj).exe
!ENDIF
!if !defined(CPUTYPE)
# This is for Windows DOS:
$(link) $(guiflags) $(proj).obj ,,, $(WINTAB)\lib\wintabx.lib $(guilibs) , $(proj).DEF
rc $(proj).res
!ENDIF

View File

@@ -0,0 +1,14 @@
; Module name: Rule2.DEF
NAME Rule2
DESCRIPTION 'Rule2: WinTab Measuring Application'
STUB 'WinStub.exe'
EXETYPE WINDOWS
CODE MOVEABLE DISCARDABLE PRELOAD
DATA MOVEABLE MULTIPLE PRELOAD
HEAPSIZE 1024
STACKSIZE 4096
EXPORTS
RuleAppWndProc


View File

@@ -0,0 +1,51 @@
RULE2
Start Length Name Class
0001:0000 01486H _TEXT CODE
0002:0000 00010H NULL BEGDATA
0002:0010 000F0H _DATA DATA
0002:0100 0000EH CDATA DATA
0002:010E 00000H XIFB DATA
0002:010E 00000H XIF DATA
0002:010E 00000H XIFE DATA
0002:010E 00000H XIB DATA
0002:010E 00000H XI DATA
0002:010E 00000H XIE DATA
0002:010E 00000H XPB DATA
0002:010E 00000H XP DATA
0002:010E 00000H XPE DATA
0002:010E 00000H XCB DATA
0002:010E 00000H XC DATA
0002:010E 00000H XCE DATA
0002:010E 00000H XCFB DATA
0002:010E 00000H XCFCRT DATA
0002:010E 00000H XCF DATA
0002:010E 00000H XCFE DATA
0002:010E 00000H XIFCB DATA
0002:010E 00000H XIFU DATA
0002:010E 00000H XIFL DATA
0002:010E 00000H XIFM DATA
0002:010E 00000H XIFCE DATA
0002:010E 00000H DBDATA DATA
0002:010E 00000H CONST CONST
0002:010E 00008H HDR MSG
0002:0116 00146H MSG MSG
0002:025C 00002H PAD MSG
0002:025E 00001H EPAD MSG
0002:0260 0000CH _BSS BSS
0002:026C 00000H XOB BSS
0002:026C 00000H XO BSS
0002:026C 00000H XOE BSS
0002:026C 00000H XOFB BSS
0002:026C 00000H XOF BSS
0002:026C 00000H XOFE BSS
Origin Group
0002:0 DGROUP
Address Export Alias
0001:05BE RuleAppWndProc RuleAppWndProc
Program entry point at 0001:0bec