Subversion Repositories DevTools

Rev

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

###############################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
#
# File:         TOOLSET/visualbasic.rul[e]
# Contents:     Rules to build Visual Basic
#
###############################################################################


###############################################################################
#..     Parse user options
#       Global options already parsed
#       These options extend the global options
#
ifdef OPTIONS
endif

###############################################################################
#
#       Make MAcro to assist in building Borland Project Files
#       Arguments
#               $1      - Name of the project file
#               $2      - Path to the project
#               $3      - Path to output directory
#               $4      - Name of logfile
#
#
#       The following script will
#               Setup the PATH to include DLLs
#               cd to the target directory
#               Run VB6 the project
#               Report errors
#
define MakeProject
        ( $(rm) -f $(4); \
        . $(INTERFACEDIR)/set_$(GBE_PLATFORM).sh; \
        echo "[VB6] Building Project: $(2)/$(1)"; \
        cd "$(2)"; \
        VB6.EXE  /make $1 /out $(4) /outdir $(CURDIR)/$(3); \
        ret=$$?; \
        cd $(CURDIR); \
        echo >>$(4); \
        $(GBE_BIN)/cat $(4); \
        exit $$ret )
endef
#