Changeset 126
- Timestamp:
- Oct 29, 2023, 11:01:57 PM (22 months ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/classes/mm-progs/MMPlayer/makefile
r53 r126 17 17 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd mmplayer.def 18 18 #Use this command to link dynamicaly 19 $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -lmmpm2.lib mmplayer.def19 $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def 20 20 rc mmplayer.rc mmplayer.exe 21 21 -
trunk/classes/mm-progs/audioconverter/audconv.c
r104 r126 350 350 { 351 351 UCHAR text[500]; 352 s nprintf((PCHAR)text, sizeof(text)-1,"mmioOpen error with file %s\n", chrSourceName);352 sprintf((PCHAR)text,/* sizeof(text)-1,*/"mmioOpen error with file %s\n", chrSourceName); 353 353 WinMessageBox(hwnd, hwnd, (PSZ)"", 354 354 text, … … 362 362 UCHAR text[500]; 363 363 mmioClose(hmmio, 0); 364 s nprintf((PCHAR)text, sizeof(text)-1,"mmioGetHeader error!");364 sprintf((PCHAR)text, /*sizeof(text)-1,*/"mmioGetHeader error!"); 365 365 WinMessageBox(hwnd, hwnd, (PSZ)"", 366 366 text, … … 384 384 rc=mmioGetLastError(hmmioTarget); 385 385 mciGetErrorString(mmioinfo.ulErrorRet ,chrError, sizeof(chrError)-1); 386 s nprintf((PCHAR)text, sizeof(text)-1,"mmioOpen error with file %s:\n%s\n%lu", chrTargetName, chrError,mmioinfo.ulErrorRet);386 sprintf((PCHAR)text, /*sizeof(text)-1,*/"mmioOpen error with file %s:\n%s\n%lu", chrTargetName, chrError,mmioinfo.ulErrorRet); 387 387 mmioClose(hmmio,0); 388 388 WinMessageBox(hwnd, hwnd, (PSZ)"", … … 400 400 mmioClose(hmmio, 0); 401 401 mmioClose(hmmioTarget,0); 402 s nprintf((PCHAR)text, sizeof(text)-1,"Can't get memory buffer!");402 sprintf((PCHAR)text, /*sizeof(text)-1,*/"Can't get memory buffer!"); 403 403 WinMessageBox(hwnd, hwnd, (PSZ)"", 404 404 text, … … 422 422 if(rc==MMIO_ERROR) { 423 423 UCHAR text[500]; 424 s nprintf((PCHAR)text, sizeof(text)-1,"Error while reading audio data!");424 sprintf((PCHAR)text, /*sizeof(text)-1,*/"Error while reading audio data!"); 425 425 WinMessageBox(hwnd, hwnd, (PSZ)"", 426 426 text, -
trunk/classes/mm-progs/audioconverter/makefile
r53 r126 16 16 audconv.exe: audconv.c $(OBJECTS) makefile def.tpl 17 17 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd audconv.def 18 $(CC) $(CPPFLAGS) -I$(INC) audconv.c $(OBJECTS) -lmmpm2.lib audconv.def18 $(CC) $(CPPFLAGS) -I$(INC) audconv.c $(OBJECTS) mmpm2.lib audconv.def 19 19 20 20 -
trunk/classes/mm-progs/imageconverter/makefile
r53 r126 15 15 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd imgconv.def 16 16 #Use this command to link dynamicaly 17 $(CC) $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -lmmpm2.lib imgconv.def17 $(CC) $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) mmpm2.lib imgconv.def 18 18 19 19 clean: -
trunk/classes/mm-progs/master_volume/makefile
r104 r126 17 17 volume.exe: volume.c $(OBJECTS) makefile def.tpl 18 18 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd volume.def 19 $(CC) $(CPPFLAGS) -I$(INC) volume.c $(OBJECTS) -lmmpm2.lib volume.def19 $(CC) $(CPPFLAGS) -I$(INC) volume.c $(OBJECTS) mmpm2.lib volume.def 20 20 rc -I $(INC) volume.rc volume.exe 21 21 -
trunk/classes/mm-progs/mmfind/makefile
r53 r126 20 20 #Use this command to link dynamicaly 21 21 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd mmfind.def 22 gcc $(CPPFLAGS) -I$(INC) mmfind.c $(LIBOBJECTS) $(OBJECTS) -lmmpm2.lib mmfind.def22 icc $(CPPFLAGS) -I$(INC) mmfind.c $(LIBOBJECTS) $(OBJECTS) mmpm2.lib rexx.lib mmfind.def 23 23 rc mmfind.rc mmfind.exe 24 24 -
trunk/classes/mm-progs/mmfind/mmfind.c
r104 r126 46 46 #include <string.h> 47 47 #include <stdlib.h> 48 #include <rexxsaa.h> 48 49 #include "os2me.h" 49 50 /* CW toolkit includes */ -
trunk/classes/mm-progs/videoplayer/makefile
r53 r126 3 3 include ../../../make.inc 4 4 5 CC = gcc5 CC = icc 6 6 LIB_DIR = $d:/emx/lib 7 7 #CPPFLAGS = -Ge- /Gm+ -G4 -Gl /O+ -Oc+ -Ol 8 8 #CPPFLAGS = -O -Zomf -Zcrtdll -Zmtd -s 9 CPPFLAGS = -O -Wall -Zomf -Zmt -s 9 #CPPFLAGS = -O -Wall -Zomf -Zmt -s 10 CPPFLAGS = -Ge+ /Gm+ -G5 /Ss -Gl /O+ -Oc+ -Ol- /Q+ 10 11 INC = ../include -I ../../../classes/inc -I ../../../common_functions/include 11 12 DEFS = … … 21 22 22 23 $(LIBDIR)/%.obj: $(COMMONSRC)/%.c 23 gcc -c -Wall -o$@ -Zomf -I$(INC) $<24 24 # gcc -c -Wall -o$@ -Zomf -I$(INC) $< 25 $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $< 25 26 %.obj: %.c 26 gcc -c -Wall -o$@ -Zomf -I$(INC) $<27 27 # gcc -c -Wall -o$@ -Zomf -I$(INC) $< 28 $(CC) $(CPPFLAGS) /C -I$(INC) /Fo$@ $< 28 29 mmplayer.exe: mmplayer.c $(OBJECTS) $(OBJS2) makefile 29 30 #Use this command to link dynamicaly 30 gcc $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -lmmpm2.lib mmplayer.def31 $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def 31 32 rc mmplayer.rc mmplayer.exe 32 33 33 34 vioplayer.exe: vioplayer.c 34 gcc $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj -lmmpm2.lib mmplayer.def35 $(CC) $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj mmpm2.lib mmplayer.def 35 36 36 37 clean: -
trunk/classes/mm-progs/volume/makefile
r53 r126 17 17 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd classvolume.def 18 18 #Use this command to link dynamicaly 19 $(CC) $(CPPFLAGS) -I$(INC) classvol.c $(OBJECTS) $(OBJS2) -lmmpm2.lib classvolume.def19 $(CC) $(CPPFLAGS) -I$(INC) classvol.c $(OBJECTS) $(OBJS2) mmpm2.lib classvolume.def 20 20 rc classvolume.rc classvol.exe 21 21 … … 28 28 -rm *.res 29 29 -rm *.ini 30 -rm $(LIBDIR)/*.obj 30 31 31 32 cleaner: -
trunk/common_functions/helper.c
r104 r126 103 103 BOOL buildLogName( char * outBuf, char * logName,ULONG ulSize) 104 104 { 105 if(s nprintf(outBuf, ulSize,"logfiles\\%s",logName)==EOF)105 if(sprintf(outBuf, /*ulSize,*/"logfiles\\%s",logName)==EOF) 106 106 return FALSE; 107 107 return TRUE; … … 518 518 { 519 519 /* Build full path for cdrecord.ini file */ 520 s nprintf(chrBuffer, iBufferSize,"%s\\cdrecord.ini", chrInstallDir);520 sprintf(chrBuffer, /*iBufferSize,*/ "%s\\cdrecord.ini", chrInstallDir); 521 521 chrBuffer[iBufferSize-1]=0; /* Always terminate with zero */ 522 522 }
Note:
See TracChangeset
for help on using the changeset viewer.