source: cmedia/trunk/Vsd/makefile.os2@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 1.9 KB
Line 
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
9CINCLUDES = ..\include
10RCDLL = cmivsd
11
12DEF_DEP = makefile.os2 ..\include\sbversion.h ..\include\version.mak
13
14
15
16#################################
17# Definitions for C Compiler
18#################################
19
20CC = wcc386
21CFLAGS = -i$(CINCLUDES) -wx -e25 -zq -bt=os2 -mf -bd -s -5r -zp1
22
23
24#################################
25# Definitions for linker
26#################################
27LINK = wlink
28LFLAGS = op c op maxe=25 op many op map
29
30
31#########################################
32# Definitions for RESOURCE compiler
33#########################################
34RC = rc
35RFLAGS = -i $(CINCLUDES)
36
37
38#########################################
39# Definitions for Help Compiler
40#########################################
41IPF = ipfc
42L = ENU
43P = 437
44C = 1
45
46
47#################################
48# Inference Rules
49#################################
50.c.obj:
51 $(CC) $(CFLAGS) $^&.c
52
53
54#################################
55# Object file lists
56#################################
57
58RCOBJS = cmivsd.obj
59
60
61#############################################################################
62# Target Descriptions
63#############################################################################
64
65all: $(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
Note: See TracBrowser for help on using the repository browser.