* contrib/hbct/files.c
! FILESIZE() fixed to return -1 when the file doesn't exist.
- contrib/hbmysql/test
+ contrib/hbmysql/tests
- contrib/hbw32ddr/test
+ contrib/hbw32ddr/tests
- contrib/hbodbc/test
+ contrib/hbodbc/tests
- contrib/hbtpathy/test
+ contrib/hbtpathy/tests
- contrib/hbw32/test
+ contrib/hbw32/tests
- contrib/hbole/test
+ contrib/hbole/tests
- contrib/hbfbird/test
+ contrib/hbfbird/tests
- contrib/hbapollo/test
+ contrib/hbapollo/tests
- contrib/hbnf/tests
+ contrib/hbnf/test
- contrib/hbfimage/test
+ contrib/hbfimage/tests
- contrib/hbmisc/test
+ contrib/hbmisc/tests
- contrib/hbgtwvg/test
+ contrib/hbgtwvg/tests
- contrib/hbrddads/test
+ contrib/hbrddads/tests
- contrib/hbbtree/test
+ contrib/hbbtree/tests
! Renamed test to tests to use 'tests' everywhere
inside the repository.
85 lines
843 B
Makefile
85 lines
843 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ifeq ($(HB_MAIN),)
|
|
HB_MAIN = std
|
|
endif
|
|
|
|
ROOT = ../../../
|
|
|
|
CONTRIBS=\
|
|
hb_btree\
|
|
|
|
LIBS=\
|
|
debug \
|
|
vm \
|
|
rtl \
|
|
lang \
|
|
rdd \
|
|
rtl \
|
|
vm \
|
|
macro \
|
|
pp \
|
|
common \
|
|
|
|
# debug \
|
|
# vm \
|
|
# rtl \
|
|
# lang \
|
|
# rdd \
|
|
# rtl \
|
|
# vm \
|
|
# macro \
|
|
# pp \
|
|
# common \
|
|
|
|
|
|
ifeq ($(PM),)
|
|
PM := $(pm)
|
|
endif
|
|
|
|
ifeq ($(PM),) # PM not defined = build all files
|
|
|
|
PRG_SOURCES=\
|
|
test.prg \
|
|
ttest.prg \
|
|
|
|
PRG_HEADERS=\
|
|
hb_btree.ch
|
|
|
|
C_HEADERS=\
|
|
hb_btree.api
|
|
|
|
BAD_PRG_SOURCES=\
|
|
|
|
|
|
C_SOURCES=\
|
|
ctest.c \
|
|
|
|
|
|
C_HEADERS=\
|
|
|
|
|
|
BAD_C_SOURCES=\
|
|
|
|
|
|
###include $(TOP)$(ROOT)config/test.cf
|
|
include $(TOP)$(ROOT)config/bin.cf
|
|
|
|
else #PM defined = build specified file
|
|
|
|
ifneq ($(findstring .prg,$(PM)),)
|
|
PRG_MAIN := $(PM)
|
|
else
|
|
ifneq ($(findstring .PRG,$(PM)),)
|
|
PRG_MAIN := $(PM)
|
|
else
|
|
PRG_MAIN := $(PM).prg
|
|
endif
|
|
endif
|
|
include $(TOP)$(ROOT)config/bin.cf
|
|
|
|
endif
|
|
|