| 227 |
dpurdie |
1 |
# -*- mode: mak; -*-
|
|
|
2 |
###############################################################################
|
|
|
3 |
# File: TOOLSET/djgpp
|
|
|
4 |
# Contents: DJGPP defines
|
|
|
5 |
###############################################################################
|
|
|
6 |
|
|
|
7 |
toolset = djgpp
|
|
|
8 |
s = asm
|
|
|
9 |
o = o
|
|
|
10 |
a = a
|
|
|
11 |
exe = .exe
|
|
|
12 |
|
|
|
13 |
.SUFFIXES: .asm
|
|
|
14 |
|
|
|
15 |
.PHONY: djgpp
|
|
|
16 |
djgpp:
|
| 6177 |
dpurdie |
17 |
@$(echo) '[Toolset DJGPP - DJGPP C/C++ 32 bit/GO32/MASM]'; \
|
|
|
18 |
if [ -z "$$DJGPP" ]; then echo 'DJGPP env var not set'; exit 2; fi; \
|
|
|
19 |
if [ -z "$$USR" ]; then echo 'USR env var not set'; exit 2; fi; \
|
|
|
20 |
if [ -z "$$MASM" ]; then echo 'MASM env var not set'; exit 2; fi
|
| 227 |
dpurdie |
21 |
|
|
|
22 |
watcom := $(subst \,/,$(strip $(DJGPP)))
|
|
|
23 |
usr := $(subst \,/,$(strip $(USR)))
|
|
|
24 |
masm := $(subst \,/,$(strip $(MASM)))
|
|
|
25 |
|
|
|
26 |
ifeq "$(findstring $(PATH),$(USR))" ""
|
|
|
27 |
PATH := $(PATH);$(usr)/bin;
|
|
|
28 |
endif
|
|
|
29 |
ifeq "$(findstring $(PATH),$(MASM))" ""
|
|
|
30 |
PATH := $(PATH);$(masm)/bin
|
|
|
31 |
endif
|
|
|
32 |
|
|
|
33 |
RPCGEN_CPP := gcc
|
|
|
34 |
RPCGEN_CFLAGS := -E
|
|
|
35 |
export RPCGEN_CPP RPCGEN_CFLAGS
|
|
|
36 |
|
|
|
37 |
#
|