- Timestamp:
- Jun 3, 2000, 5:50:46 AM (25 years ago)
- Location:
- trunk/src/win32k/rexx
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/rexx/kRx.c
r3518 r3650 1 /* $Id: kRx.c,v 1. 1 2000-05-10 16:04:30bird Exp $1 /* $Id: kRx.c,v 1.2 2000-06-03 03:50:45 bird Exp $ 2 2 * 3 3 * kRx - Small rexx script interpreter. 4 * 5 * Will be re-written in assembly later!!! 4 6 * 5 7 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no) … … 17 19 #define INCL_DOSERRORS 18 20 21 #undef DEBUGOUT 22 19 23 /******************************************************************************* 20 24 * Internal Functions * … … 25 29 #include <stdio.h> 26 30 #include <string.h> 27 #include <malloc.h> 31 /*#include <malloc.h> */ 28 32 29 33 /** … … 51 55 int argi; /* Argument index loop variable. */ 52 56 APIRET rc; /* Return code from RexxStart. */ 53 57 ULONG ul; /* Dummy used by DosWrite. */ 54 58 55 59 /* … … 68 72 if (iScriptName >= argc) 69 73 { 70 fprintf(stderr, "Invalid parameters, script filename is missing\n");74 DosWrite(2, "Invalid parameters, script filename is missing.\r\n", 47, &ul); 71 75 return -10000; 72 76 } … … 120 124 * Debug display result. 121 125 */ 126 #ifdef DEBUGOUT 122 127 printf( 123 128 "Interpreter rc: %d\n" … … 127 132 sRexxRc, 128 133 rxstrRexxRc.strptr); 129 134 #endif 130 135 131 136 DosFreeMem(rxstrRexxRc.strptr); /* Release storage from RexxStart. */ -
trunk/src/win32k/rexx/makefile
r3518 r3650 1 1 ############################################################################## 2 # $Id: makefile,v 1. 1 2000-05-10 16:04:31bird Exp $2 # $Id: makefile,v 1.2 2000-06-03 03:50:46 bird Exp $ 3 3 # 4 4 # PD-Win32 API … … 26 26 27 27 LD = ilink 28 LDFLAGS = /nologo /NOI /A:16 /NOE /packcode /packdata /pmtype:vio /Stack: 4096\28 LDFLAGS = /nologo /NOI /A:16 /NOE /packcode /packdata /pmtype:vio /Stack:0x10000 \ 29 29 !ifdef DEBUG 30 30 !ifndef NODEBUGINFO … … 47 47 @$(CXX) $(CXXFLAGS) -c -Fa$(WIN32KLIST)\$(@B).asm -Fo$(@) $< 48 48 49 .asm{$(OBJDIR)}.obj: 50 @$(ECHO) assembling: $< 51 @$(AS) $(ASFLAGS) $(ADEFINES) $(AINCLUDES) $< -Fo:$@ -Fl:$(WIN32KLIST)\$(*B).lst 52 49 53 # 50 54 # Visual slick edit! … … 64 68 TARGET = kRx 65 69 66 OBJS = $(OBJDIR)\kRx .obj70 OBJS = $(OBJDIR)\kRxa.obj 67 71 68 72 69 all: $(OBJDIR) $(OBJDIR)\$(TARGET).exe 73 all: $(OBJDIR) \ 74 $(OBJDIR)\$(TARGET).exe 70 75 71 76 72 77 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(TARGET).def 73 78 @echo linking $@ 74 $(LD2) $(LD2FLAGS) /OUT:$@ /MAP:$*.map $** OS2386.lib $(RTLLIB) REXX.LIB79 -4 $(LD) $(LDFLAGS) /BASE:0x10000 /OUT:$@ /MAP:$*.map $** OS2386.lib REXX.lib 75 80 $(CP) $@ $(PDWIN32_BIN) 81 82 $(OBJDIR)\$(TARGET)c.exe: $(OBJDIR)\kRx.obj $(TARGET).def 83 @echo linking $@ 84 $(LD) $(LDFLAGS) /BASE:0x10000 /OUT:$@ /MAP:$*.map $** OS2386.lib REXX.lib 85 $(CP) $@ $(PDWIN32_BIN) 86 76 87 77 88
Note:
See TracChangeset
for help on using the changeset viewer.