source: cmedia/trunk/makefile.sbl@ 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.4 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=-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 sblive32.lib sblive16.sys sblive32.sys
55
56cardinfo.dll:
57 @echo BUILDING CARDINFO.DLL
58 @cd Install
59 @nmake $(NMAKEOPTS)
60 @cd ..
61
62runtime.lib:
63 @echo BUILDING runtime.lib
64 @cd runtime
65 @wmake $(NMAKEOPTS)
66 @cd ..
67
68linuxlib.lib:
69 @echo BUILDING linuxlib.lib
70 @cd lib32
71 @wmake /ms $(NMAKEOPTS)
72 @cd ..
73
74sblive32.lib:
75 @echo BUILDING sblive32.lib
76 @cd sblive
77 @wmake /ms $(NMAKEOPTS)
78 @cd ..
79
80sblive16.sys:
81 @echo BUILDING sblive16.sys
82 @cd drv16
83 @wmake $(NMAKEOPTS)
84 @cd ..
85
86sblive32.sys:
87 @echo BUILDING sblive32.sys
88 @cd drv32
89 @wmake /ms $(NMAKEOPTS)
90 @cd ..
Note: See TracBrowser for help on using the repository browser.