summaryrefslogtreecommitdiffstats
path: root/common/recipes-utils/jbi/files/make/PCVS/PVCS16.MAK
blob: e943aa4a20c41b00ec5e85d6e82b86c3d8cf0d71 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
#	Module:			makefile
#
#					Copyright (C) Altera Corporation 1998-2001
#
#	Description:	Makefile for JAM Bytecode Player
#

OBJS = \
	jbistub.obj \
	jbimain.obj \
	jbicomp.obj \
	jbijtag.obj


%if "$(MEM_TRACKER)" && "$(STATIC_MEMORY_SIZE)"
# MEMORY TRACKER ON, USE 'STATIC_MEMORY_SIZE' KB OF STATIC MEMORY
.c.obj :
	cl /W4 /AL /c /O2 /Zp1 /DPORT=DOS /DMEM_TRACKER /DUSE_STATIC_MEMORY=$(STATIC_MEMORY_SIZE) $<
%elseif "$(MEM_TRACKER)" && !"$(STATIC_MEMORY_SIZE)"
# MEMORY TRACKER ON, USE DYNAMIC MEMORY
.c.obj :
	cl /W4 /AL /c /O2 /Zp1 /DPORT=DOS /DMEM_TRACKER $<
%elseif !"$(MEM_TRACKER)" && "$(STATIC_MEMORY_SIZE)"
# MEMORY TRACKER OFF, USE 'STATIC_MEMORY_SIZE' KB OF STATIC MEMORY
.c.obj :
	cl /W4 /AL /c /O2 /Zp1 /DPORT=DOS /DUSE_STATIC_MEMORY=$(STATIC_MEMORY_SIZE) $<
%else !"$(MEM_TRACKER)" && !"$(STATIC_MEMORY_SIZE)"
# MEMORY TRACKER OFF, USE DYNAMIC MEMORY
.c.obj :
	cl /W4 /AL /c /O2 /Zp1 /DPORT=DOS $<
%endif

jbi.exe : $(OBJS)
	link /STACK:0x8000 $(OBJS), jbi.exe,,,,

# Dependencies:

jbistub.obj : \
	jbistub.c \
	jbiport.h \
	jbiexprt.h

jbimain.obj : \
	jbimain.c \
	jbiport.h \
	jbiexprt.h \
	jbijtag.h \
	jbicomp.h

jamcomp.obj : \
	jamcomp.c \
	jbiport.h \
	jbiexprt.h \
	jbicomp.h

jbijtag.obj : \
	jbijtag.c \
	jbiport.h \
	jbiexprt.h \
	jbijtag.h
OpenPOWER on IntegriCloud