* harbour/makefile.bc
* harbour/makefile.vc
* harbour/config/rules.cf
* harbour/contrib/btree/makefile.bc
* harbour/contrib/htmllib/Makefile.bc
* harbour/contrib/htmllib/makefile.vc
* harbour/contrib/libct/makefile.bc
* harbour/contrib/libct/makefile.vc
* harbour/contrib/libgt/makefile.bc
* harbour/contrib/libgt/makefile.vc
* harbour/contrib/libmisc/makefile.bc
* harbour/contrib/libmisc/makefile.vc
* harbour/contrib/libnf/makefile.vc
* harbour/contrib/libnf/nanfor.bc
* harbour/contrib/samples/makefile.bc
* harbour/contrib/samples/makefile.vc
+ harbour/contrib/samples/make_b32.bat
+ harbour/contrib/samples/make_vc.bat
- harbour/contrib/samples/makevc.bat
+ -w default Harbour build switch changed to -w2,
to further maintain code quality.
; Notice that CONTRIB might need some fixing here.
+ Added proper BC/VC make batch files for "samples".
* harbour/include/hbclass.ch
* harbour/source/debug/dbgmenu.prg
* harbour/source/debug/debugger.prg
* harbour/source/rtl/teditor.prg
* harbour/utils/hbdoc/genchm.prg
* harbour/utils/hbdoc/genhtm.prg
* harbour/utils/hbdoc/genng.prg
* harbour/utils/hbdoc/genos2.prg
* harbour/utils/hbdoc/genpdf1.prg
* harbour/utils/hbdoc/genrtf.prg
* harbour/utils/hbdoc/os2.prg
* harbour/utils/hbmake/hbmake.prg
* harbour/utils/hbmake/radios.prg
* harbour/utils/hbpptest/pretest.prg
* harbour/utils/hbtest/rt_misc.prg
+ Added HB_SYMBOL_UNUSED() inside codeblocks.
! Removed a few uneeded codeblock parameters.
+ Added HB_SYMBOL_UNUSED() to some class syntax generated
code to avoid unused "Self" var warnings.
* harbour/ChangeLog.017
! Typos.
115 lines
2.4 KiB
Plaintext
115 lines
2.4 KiB
Plaintext
#
|
|
# $Id$
|
|
#
|
|
|
|
#
|
|
# Directory macros. These should never have to change.
|
|
#
|
|
|
|
INCLUDE_DIR = ..\..\include
|
|
OBJ_DIR = ..\..\obj\vc
|
|
LIB_DIR = ..\..\lib\vc
|
|
BIN_DIR = ..\..\bin\vc
|
|
|
|
#
|
|
# C compiler definition and C flags. These should never have to change.
|
|
#
|
|
|
|
CC = cl
|
|
CFLAGS = -TP -W3 -nologo -I$(INCLUDE_DIR)
|
|
CLIBFLAGS = $(CFLAGS) -c
|
|
CLIBFLAGSDEBUG = $(CLIBFLAGS) -Zi
|
|
HARBOURFLAGS = -i$(INCLUDE_DIR) -n -w2 -gc0 $(PRG_USR) $(HARBOURFLAGS)
|
|
LDFLAGS = $(LDFLAGS)
|
|
|
|
#
|
|
# Macros to access our library names
|
|
#
|
|
|
|
TOOLS_LIB = $(LIB_DIR)\html.lib
|
|
HARBOUR_EXE = $(BIN_DIR)\harbour.exe
|
|
|
|
#
|
|
# Rules
|
|
#
|
|
|
|
#
|
|
# TOOLS.LIB rules
|
|
#
|
|
TOOLS_LIB_OBJS = \
|
|
$(OBJ_DIR)\ohtm.obj \
|
|
$(OBJ_DIR)\htmbrows.obj \
|
|
$(OBJ_DIR)\oedit.obj \
|
|
$(OBJ_DIR)\ofile.obj \
|
|
$(OBJ_DIR)\jlist.obj \
|
|
$(OBJ_DIR)\oini.obj \
|
|
$(OBJ_DIR)\jwindow.obj \
|
|
$(OBJ_DIR)\ocgi.obj \
|
|
$(OBJ_DIR)\oframe.obj \
|
|
$(OBJ_DIR)\counter.obj \
|
|
$(OBJ_DIR)\errorsys.obj \
|
|
$(OBJ_DIR)\htmutil.obj
|
|
|
|
#
|
|
# Our default target
|
|
#
|
|
|
|
all: \
|
|
$(TOOLS_LIB) \
|
|
|
|
#
|
|
# Library dependencies and build rules
|
|
#
|
|
|
|
$(TOOLS_LIB) : $(TOOLS_LIB_OBJS)
|
|
lib /OUT:$(TOOLS_LIB) $(TOOLS_LIB_OBJS)
|
|
|
|
$(OBJ_DIR)\ohtm.obj : ohtm.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\htmbrows.obj : htmbrows.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\oedit.obj : oedit.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\ofile.obj : ofile.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\jlist.obj : jlist.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\oini.obj : oini.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\jwindow.obj : jwindow.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\ocgi.obj : ocgi.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\oframe.obj : oframe.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\counter.obj : counter.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\errorsys.obj : errorsys.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|
|
$(OBJ_DIR)\htmutil.obj : htmutil.prg
|
|
$(HARBOUR_EXE) $** $(HARBOURFLAGS) -o$*.c
|
|
$(CC) $(CLIBFLAGS) -Fo$@ $*.c
|
|
|