Subversion Repositories DevTools

Rev

Rev 5709 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
315 dpurdie 1
###############################################################################
6177 dpurdie 2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
315 dpurdie 3
#
4
# File:         TOOLSET/visualbasic.rul[e]
5
# Contents:     Rules to build Visual Basic
6
#
7
###############################################################################
8
 
9
 
10
###############################################################################
11
#..     Parse user options
12
#       Global options already parsed
13
#       These options extend the global options
14
#
15
ifdef OPTIONS
16
endif
17
 
18
###############################################################################
19
#
20
#	Make MAcro to assist in building Borland Project Files
21
#	Arguments
22
#		$1	- Name of the project file
23
#		$2	- Path to the project
24
#		$3	- Path to output directory
25
#		$4	- Name of logfile
26
#
27
#
28
#	The following script will
29
#		Setup the PATH to include DLLs
30
#		cd to the target directory
31
#		Run VB6 the project
32
#		Report errors
33
#
34
define MakeProject
35
	( $(rm) -f $(4); \
36
	. $(INTERFACEDIR)/set_$(GBE_PLATFORM).sh; \
37
	echo "[VB6] Building Project: $(2)/$(1)"; \
38
	cd "$(2)"; \
39
	VB6.EXE  /make $1 /out $(4) /outdir $(CURDIR)/$(3); \
40
	ret=$$?; \
41
	cd $(CURDIR); \
42
	echo >>$(4); \
43
	$(GBE_BIN)/cat $(4); \
44
	exit $$ret )
45
endef
46
#