- Timestamp:
- Sep 28, 2001, 2:11:20 PM (24 years ago)
- Location:
- sbliveos2/trunk/install
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/install/control.scr
r188 r192 65 65 ssgroup=17 66 66 ssname="SoundBlaster Live! Wave Audio" 67 ssversion="0. 7.5"67 ssversion="0.8.0" 68 68 sssize=300 69 69 ssdll="genin.dll" -
sbliveos2/trunk/install/makefile.os2
r142 r192 1 1 #****************************************************************************** 2 # Makefile for SB Live MMPM/2 installation files2 # Makefile for 32 bits OS/2 SB Live driver 3 3 # 4 4 # Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl) 5 # 6 # Modifications for C-Media 8738 7 # 8 # Copyright 2001 Rdiger Ihle (r.ihle@s-t.de) 5 9 # 6 10 # This program is free software; you can redistribute it and/or … … 21 25 #****************************************************************************** 22 26 23 !if [SET LIB=..\..\lib;%LIB%] || \ 24 [SET INCLUDE=..\include;%INCLUDE%] 25 !endif 27 .ERASE 26 28 27 .SUFFIXES: .com .sys .exe .obj .mbj .asm .inc .def .lrf .crf .ref \28 .lst .sym .map .c .h .lib .msg .pro .txt 29 .SUFFIXES: 30 .SUFFIXES: .sys .obj .asm .inc .def .lrf .ref .lst .sym .map .c .cpp .rc .h .lib 29 31 30 RCDLL=CARDINFO 31 RCRES=CARDINFO 32 HELPFILE=AUDHELP 33 MIDIDLL=MIDIMAP 34 MIDIRES=MIDIMAP 32 CINCLUDES = ..\include 33 34 #PRODUCT_NAME = C-Media 8738 35 PRODUCT_NAME = Soundblaster Live! 36 37 RCDLL = CARDINFO 38 RCRES = CARDINFO 39 HELPFILE = AUDHELP 40 MIDIDLL = MIDIMAP 41 MIDIRES = MIDIMAP 42 35 43 36 44 ################################# … … 38 46 ################################# 39 47 40 CC=icc 48 CC = wcc386 49 CFLAGS = -i$(CINCLUDES) -wx -e25 -zq -bt=os2 -mf -bd -s -zl 41 50 42 #CFLAGS = /C+ /Gd- /Ge- /Gm+ /Gs- /Re /J- /Ms /Sm /Sn /Ss+ /DINCL_3243 CFLAGS = -Q -Si -Ti- -Ge- -Ss+ -W3 -C44 51 45 52 ################################# 46 53 # Definitions for linker 47 54 ################################# 48 LINK=icc 49 LFLAGS= -Q -Fi -Si -Ti- -Ge- -Ss+ -W3 -Gm+ /B"/noe" 50 LIBS=os2386.lib MMPM2.LIB 55 LINK = wlink 56 LFLAGS = op c op maxe=25 op many 51 57 52 58 … … 54 60 # Definitions for RESOURCE compiler 55 61 ######################################### 56 RC = rc 62 RC = rc 63 RFLAGS = -i $(CINCLUDES) 64 57 65 58 66 ######################################### 59 67 # Definitions for Help Compiler 60 68 ######################################### 61 MS386=icc62 IPF=ipfc 63 L=ENU 64 P=437 65 C=1 69 IPF = ipfc 70 L = ENU 71 P = 437 72 C = 1 73 66 74 67 75 ################################# … … 69 77 ################################# 70 78 .c.obj: 71 $(CC) $(CFLAGS) /Fo$(<R).obj $(C_LST) $(<R).c79 $(CC) $(CFLAGS) $^&.c 72 80 73 81 ################################# … … 82 90 # and add a # to the beginning of the first line below. 83 91 ############################################################################# 92 84 93 all: rc help 94 95 # midimap 96 97 85 98 86 99 ################################## … … 90 103 rc: $(RCDLL).dll 91 104 92 $(RCDLL).dll: $(RCOBJS) $(RCRES).rc makefile.os2 $(RCDLL).def 93 $(LINK) $(LFLAGS) -Fm -Fe$@ $(RCOBJS) $(RCDLL).def $(LIBS) 94 $(RC) $(RCRES).rc $(RCDLL).dll 105 $(RCDLL).lrf: makefile.os2 106 @%write $^@ Name $(RCDLL).DLL 107 @%write $^@ System os2v2 dll 108 @%write $^@ Option Description '$(PRODUCT_NAME) Installation Dll' 109 @%write $^@ File $(RCOBJS) 110 111 112 $(RCDLL).dll: $(RCOBJS) $(RCRES).rc $(RCDLL).lrf makefile.os2 113 $(LINK) $(LFLAGS) @$(RCDLL).lrf 114 $(RC) $(RFLAGS) $(RCRES).rc $(RCDLL).dll 95 115 @copy $(RCDLL).dll ..\bin > nul 96 116 @copy control.scr ..\bin > nul 97 117 @copy audfiles.scr ..\bin > nul 98 118 119 99 120 ################################## 100 121 # AUDHELP.HLP Target Descriptions 101 122 ################################## 123 102 124 help: $(HELPFILE).hlp 125 103 126 $(HELPFILE).hlp: $(HELPFILE).itl makefile.os2 104 127 @echo Creating file $@ > con 105 128 $(IPF) $(HELPFILE).itl /l=$(L) /codepage=$(P) /country=$(C) 106 129 @copy $(HELPFILE).hlp ..\bin > nul 130 131 107 132 108 133 ############################################################################# … … 114 139 midimap: $(MIDIDLL).dll 115 140 116 $(MIDIDLL).dll: $(RCOBJS) $(MIDIRES).rc makefile.os2 $(MIDIDLL).lrf $(MIDIDLL).def 117 $(LINK) @$(MIDIDLL).lrf 118 $(RC) $(MIDIRES).rc $(MIDIDLL).dll 141 $(MIDIDLL).lrf: makefile.os2 142 @%write $^@ Name $(MIDIDLL).DLL 143 @%write $^@ System os2v2 dll 144 @%write $^@ Option Description '$(PRODUCT_NAME) Midi Mapper Dll' 145 @%write $^@ File $(RCOBJS) 119 146 120 $(MIDIDLL).def: makefile.os2121 @echo Creating file <<$(@B).def122 LIBRARY $(MIDIDLL)123 DESCRIPTION 'DLL file containing resources'124 STUB 'OS2STUB.EXE'125 DATA NONE126 <<keep127 147 128 $(MIDIDLL).lrf: makefile.os2 129 @echo Creating file <<$(@B).lrf 130 $(RCOBJS) 131 $(MIDIDLL).dll 132 $(MIDIDLL).map $(LFLAGS) 133 $(LIBS) 134 $(MIDIDLL).def; 135 <<keep 148 $(MIDIDLL).dll: $(RCOBJS) $(RCRES).rc $(MIDIDLL).lrf makefile.os2 149 $(LINK) $(LFLAGS) @$(MIDIDLL).lrf 150 $(RC) $(RFLAGS) $(RCRES).rc $(MIDIDLL).dll 151 @copy $(MIDIDLL).dll ..\bin > nul 152 153 154 ############################################################################# 155 # Cleanup directory 156 ############################################################################# 157 158 clean: 159 del *.dll *.obj *.err *.lrf *.res *.hlp 160 161 -
sbliveos2/trunk/install/rcstub.c
r142 r192 26 26 /* */ 27 27 /*************************** END OF SPECIFICATIONS **************************/ 28 #include <os2.h>29 28 30 VOID RCSTUB() 29 #define INCL_NOPMAPI 30 #define INCL_NOBASEAPI 31 #include <os2.h> 32 33 // We need to make sure, that we have some code *AND* some data. 34 // Otherwise, MINSTALL will crash. For the same reason, turn off 35 // WLINK option "Eliminate" ! 36 37 38 UCHAR uDummy = 0; 39 40 41 VOID APIENTRY RCSTUB(VOID) 31 42 { 32 43 } 44 45
Note:
See TracChangeset
for help on using the changeset viewer.