Changeset 192 for sbliveos2


Ignore:
Timestamp:
Sep 28, 2001, 2:11:20 PM (24 years ago)
Author:
sandervl
Message:

rudi's updates

Location:
sbliveos2/trunk/install
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/install/control.scr

    r188 r192  
    6565ssgroup=17
    6666ssname="SoundBlaster Live! Wave Audio"
    67 ssversion="0.7.5"
     67ssversion="0.8.0"
    6868sssize=300
    6969ssdll="genin.dll"
  • sbliveos2/trunk/install/makefile.os2

    r142 r192  
    11#******************************************************************************
    2 # Makefile for SB Live MMPM/2 installation files
     2# Makefile for 32 bits OS/2 SB Live driver
    33#
    44# Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
     5#
     6# Modifications for C-Media 8738
     7#
     8# Copyright 2001 Rdiger Ihle (r.ihle@s-t.de)
    59#
    610#     This program is free software; you can redistribute it and/or
     
    2125#******************************************************************************
    2226
    23 !if  [SET LIB=..\..\lib;%LIB%]                  || \
    24      [SET INCLUDE=..\include;%INCLUDE%]
    25 !endif
     27.ERASE
    2628
    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
    2931
    30 RCDLL=CARDINFO
    31 RCRES=CARDINFO
    32 HELPFILE=AUDHELP
    33 MIDIDLL=MIDIMAP
    34 MIDIRES=MIDIMAP
     32CINCLUDES = ..\include
     33
     34#PRODUCT_NAME = C-Media 8738
     35PRODUCT_NAME = Soundblaster Live!
     36
     37RCDLL     = CARDINFO
     38RCRES     = CARDINFO
     39HELPFILE  = AUDHELP
     40MIDIDLL   = MIDIMAP
     41MIDIRES   = MIDIMAP
     42
    3543
    3644#################################
     
    3846#################################
    3947
    40 CC=icc
     48CC        = wcc386
     49CFLAGS    = -i$(CINCLUDES) -wx -e25 -zq -bt=os2 -mf -bd -s -zl
    4150
    42 #CFLAGS =  /C+ /Gd- /Ge- /Gm+ /Gs- /Re /J- /Ms /Sm /Sn /Ss+ /DINCL_32
    43 CFLAGS = -Q -Si -Ti- -Ge- -Ss+ -W3 -C
    4451
    4552#################################
    4653# Definitions for linker
    4754#################################
    48 LINK=icc
    49 LFLAGS= -Q -Fi -Si -Ti- -Ge- -Ss+ -W3 -Gm+ /B"/noe"
    50 LIBS=os2386.lib MMPM2.LIB
     55LINK      = wlink
     56LFLAGS    = op c  op maxe=25  op many
    5157
    5258
     
    5460# Definitions for RESOURCE compiler
    5561#########################################
    56 RC  = rc
     62RC        = rc
     63RFLAGS    = -i $(CINCLUDES)
     64
    5765
    5866#########################################
    5967# Definitions for Help Compiler
    6068#########################################
    61 MS386=icc
    62 IPF=ipfc
    63 L=ENU
    64 P=437
    65 C=1
     69IPF       = ipfc
     70L         = ENU
     71P         = 437
     72C         = 1
     73
    6674
    6775#################################
     
    6977#################################
    7078.c.obj:
    71         $(CC) $(CFLAGS) /Fo$(<R).obj $(C_LST) $(<R).c
     79        $(CC) $(CFLAGS) $^&.c
    7280
    7381#################################
     
    8290# and add a # to the beginning of the first line below.
    8391#############################################################################
     92
    8493all: rc help
     94
     95# midimap
     96
     97
    8598
    8699##################################
     
    90103rc: $(RCDLL).dll
    91104
    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
    95115        @copy $(RCDLL).dll ..\bin > nul
    96116        @copy control.scr ..\bin > nul
    97117        @copy audfiles.scr ..\bin > nul
    98118
     119
    99120##################################
    100121# AUDHELP.HLP Target Descriptions
    101122##################################
     123
    102124help: $(HELPFILE).hlp
     125
    103126$(HELPFILE).hlp: $(HELPFILE).itl makefile.os2
    104127        @echo Creating file $@ > con
    105128        $(IPF) $(HELPFILE).itl /l=$(L) /codepage=$(P) /country=$(C)
    106129        @copy $(HELPFILE).hlp ..\bin > nul
     130
     131
    107132
    108133#############################################################################
     
    114139midimap: $(MIDIDLL).dll
    115140
    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)
    119146
    120 $(MIDIDLL).def: makefile.os2
    121         @echo Creating file <<$(@B).def
    122 LIBRARY $(MIDIDLL)
    123 DESCRIPTION 'DLL file containing resources'
    124 STUB 'OS2STUB.EXE'
    125 DATA NONE
    126 <<keep
    127147
    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
     158clean:
     159     del *.dll *.obj *.err *.lrf *.res *.hlp
     160
     161
  • sbliveos2/trunk/install/rcstub.c

    r142 r192  
    2626/*                                                                          */
    2727/*************************** END OF SPECIFICATIONS **************************/
    28 #include <os2.h>
    2928
    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
     38UCHAR   uDummy = 0;
     39
     40
     41VOID APIENTRY RCSTUB(VOID)
    3142{
    3243}
     44
     45
Note: See TracChangeset for help on using the changeset viewer.