source: cmedia/trunk/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: 2.6 KB
Line 
1# $Id: makefile.os2,v 1.3 2000/04/26 18:00:57 sandervl Exp $
2#******************************************************************************
3# makefile for the SoundBlaster Live! OS/2 audio project
4#
5# Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
6#
7# This program is free software; you can redistribute it and/or
8# modify it under the terms of the GNU General Public License as
9# published by the Free Software Foundation; either version 2 of
10# the License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public
18# License along with this program; if not, write to the Free
19# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
20# USA.
21#
22#******************************************************************************
23#
24# To build a debug version:
25# WMAKE -f makefile.os2 DEBUG=1 /ms
26#
27# To build the KEE enhanced debug version of the 32 bits driver:
28# WMAKE -f makefile.os2 DEBUG=1 KEE=1 /ms
29#
30# To build a fully optimized release version:
31# WMAKE -f makefile.os2 /ms
32#
33# To build the KEE enhanced release version of the 32 bits driver:
34# WMAKE -f makefile.os2 KEE=1 /ms
35#
36#
37
38NMAKEOPTS=$(NMAKEOPTS) -f makefile.os2
39
40!if "$(DEBUG)" == "1"
41NMAKEOPTS=$(NMAKEOPTS) DEBUG=1
42!endif
43
44!if "$(KEE)" == "1"
45NMAKEOPTS=$(NMAKEOPTS) KEE=1
46!endif
47
48!if "$(DEBUG)" == "1"
49!Message BUILDING DEBUG VERSION
50!else
51!Message BUILDING RELEASE VERSION
52!endif
53
54ALL: cardinfo.dll runtime.lib linuxlib.lib cmpci32.lib \
55 cmpci16.sys cmpci32.sys cmpciset.exe
56
57
58cardinfo.dll:
59 @echo BUILDING CARDINFO.DLL
60 @cd Install
61 @wmake /ms $(NMAKEOPTS)
62 @cd ..
63
64runtime.lib:
65 @echo BUILDING runtime.lib
66 @cd runtime
67 @wmake $(NMAKEOPTS)
68 @cd ..
69
70linuxlib.lib:
71 @echo BUILDING linuxlib.lib
72 @cd lib32
73 @wmake /ms $(NMAKEOPTS)
74 @cd ..
75
76cmpci32.lib:
77 @echo BUILDING cmpci32.lib
78 @cd cmpci
79 @wmake /ms $(NMAKEOPTS)
80 @cd ..
81
82cmpci16.sys:
83 @echo BUILDING cmpci16.sys
84 @cd drv16
85 @wmake $(NMAKEOPTS)
86 @cd ..
87
88cmpci32.sys:
89 @echo BUILDING cmpci32.sys
90 @cd drv32
91 @wmake /ms $(NMAKEOPTS)
92 @cd ..
93
94cmpciset.exe:
95 @echo BUILDING cmpciset.exe
96 @cd cmpciset
97 @wmake /ms $(NMAKEOPTS)
98 @cd ..
99
100#cmpcirev.exe:
101# @echo BUILDING cmpcirev.exe
102# @cd testapp
103# @wmake /ms $(NMAKEOPTS)
104# @cd ..
105
Note: See TracBrowser for help on using the repository browser.