File: Makefile.os2

package info (click to toggle)
libxmp 4.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,236 kB
  • sloc: ansic: 51,126; sh: 3,402; makefile: 340
file content (34 lines) | stat: -rw-r--r-- 804 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile for OS/2 using Watcom compiler.
#
# wmake -f Makefile.os2
# - builds libxmp.dll and its import lib (libxmp.lib)
#
# wmake -f Makefile.os2 target=static
# - builds the static library xmp_static.lib
#
# To disable module depacker functionality:
#	wmake -f Makefile.os2 USE_DEPACKERS=0
#
# To disable ProWizard functionality:
#	wmake -f Makefile.os2 USE_PROWIZARD=0
#
!ifndef target
target = dll
!endif

USE_PROWIZARD	= 1
USE_DEPACKERS	= 1

CC = wcc386
SYSTEM = os2v2
SYSTEM_DLL = os2v2_dll

CFLAGS = -zq -bt=os2 -bm -fp5 -fpi87 -mf -oeatxh -w4 -ei -zp8
# newer OpenWatcom versions enable W303 by default.
CFLAGS += -wcd=303
# -5s  :  Pentium stack calling conventions.
# -5r  :  Pentium register calling conventions.
CFLAGS += -5s
CFLAGS += -I"src/os2" -I"$(%WATCOM)/h/os2"

!include watcom.mif