| 1 |
|
|---|
| 2 | .ERASE
|
|---|
| 3 |
|
|---|
| 4 | .SUFFIXES:
|
|---|
| 5 | .SUFFIXES: .sys .obj .asm .inc .def .lrf .ref .lst .sym .map .c .cpp .rc .h .lib
|
|---|
| 6 |
|
|---|
| 7 | !include ..\include\version.mak
|
|---|
| 8 |
|
|---|
| 9 | CINCLUDES = ..\include
|
|---|
| 10 | RCDLL = cmivsd
|
|---|
| 11 |
|
|---|
| 12 | DEF_DEP = makefile.os2 ..\include\sbversion.h ..\include\version.mak
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | #################################
|
|---|
| 17 | # Definitions for C Compiler
|
|---|
| 18 | #################################
|
|---|
| 19 |
|
|---|
| 20 | CC = wcc386
|
|---|
| 21 | CFLAGS = -i$(CINCLUDES) -wx -e25 -zq -bt=os2 -mf -bd -s -5r -zp1
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | #################################
|
|---|
| 25 | # Definitions for linker
|
|---|
| 26 | #################################
|
|---|
| 27 | LINK = wlink
|
|---|
| 28 | LFLAGS = op c op maxe=25 op many op map
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | #########################################
|
|---|
| 32 | # Definitions for RESOURCE compiler
|
|---|
| 33 | #########################################
|
|---|
| 34 | RC = rc
|
|---|
| 35 | RFLAGS = -i $(CINCLUDES)
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | #########################################
|
|---|
| 39 | # Definitions for Help Compiler
|
|---|
| 40 | #########################################
|
|---|
| 41 | IPF = ipfc
|
|---|
| 42 | L = ENU
|
|---|
| 43 | P = 437
|
|---|
| 44 | C = 1
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 | #################################
|
|---|
| 48 | # Inference Rules
|
|---|
| 49 | #################################
|
|---|
| 50 | .c.obj:
|
|---|
| 51 | $(CC) $(CFLAGS) $^&.c
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 | #################################
|
|---|
| 55 | # Object file lists
|
|---|
| 56 | #################################
|
|---|
| 57 |
|
|---|
| 58 | RCOBJS = cmivsd.obj
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 | #############################################################################
|
|---|
| 62 | # Target Descriptions
|
|---|
| 63 | #############################################################################
|
|---|
| 64 |
|
|---|
| 65 | all: $(RCDLL).dll
|
|---|
| 66 |
|
|---|
| 67 | $(RCDLL).lrf: makefile.os2
|
|---|
| 68 | @%write $^@ Name $(RCDLL).DLL
|
|---|
| 69 | @%write $^@ System os2v2 dll initinstance terminstance
|
|---|
| 70 | # @%write $^@ Library OS2386.LIB
|
|---|
| 71 | @%write $^@ Export AUDIOIFDriverEntry.1, VSDEntry.2
|
|---|
| 72 | @%write $^@ Option Description '@$#$(BLDLVL_VENDOR):$(BLDLVL_REVISION)$#@$#$#1$#$# $(BLDLVL_DATETIME) $(BLDLVL_MACHINE)::::$(BLDLVL_FILEVER)::@@$(BLDLVL_PRODUCT) Install Dll'
|
|---|
| 73 | @%write $^@ File $(RCOBJS:.obj=,)
|
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 | $(RCDLL).dll: $(RCOBJS) $(RCDLL).lrf $(DEF_DEP)
|
|---|
| 77 | $(LINK) $(LFLAGS) @$(RCDLL).lrf
|
|---|
| 78 | ..\Tools\repack /e:2 $(RCDLL).dll
|
|---|
| 79 |
|
|---|
| 80 |
|
|---|