Don't build test tools for nonexistent bundles

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@20220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-10-13 13:53:32 +00:00
parent f8c5212e68
commit ad6d3adfd9

View file

@ -4,19 +4,7 @@ include $(GNUSTEP_MAKEFILES)/common.make
PACKAGE_NAME = SQLClient
TEST_TOOL_NAME = testPostgres testMySQL testECPG
testPostgres_OBJC_FILES = testPostgres.m
testPostgres_LIB_DIRS += -L./obj
testPostgres_TOOL_LIBS += -lSQLClient -lpq
testMySQL_OBJC_FILES = testMySQL.m
testMySQL_LIB_DIRS += -L./obj
testMySQL_TOOL_LIBS += -lSQLClient
testECPG_OBJC_FILES = testECPG.m
testECPG_TOOL_LIBS += -lSQLClient
testECPG_LIB_DIRS += -L./obj
TEST_TOOL_NAME=
LIBRARY_NAME=SQLClient
@ -43,6 +31,10 @@ ECPG_OBJC_FILES = ECPG.m
ECPG_LIB_DIRS = -L./obj
ECPG_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lecpg
ECPG_PRINCIPAL_CLASS = SQLClientECPG
TEST_TOOL_NAME += testECPG
testECPG_OBJC_FILES = testECPG.m
testECPG_TOOL_LIBS += -lSQLClient
testECPG_LIB_DIRS += -L./obj
endif
ifneq ($(POSTGRES),)
@ -51,6 +43,10 @@ Postgres_OBJC_FILES = Postgres.m
Postgres_LIB_DIRS = -L./obj
Postgres_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lpq
Postgres_PRINCIPAL_CLASS = SQLClientPostgres
TEST_TOOL_NAME += testPostgres
testPostgres_OBJC_FILES = testPostgres.m
testPostgres_LIB_DIRS += -L./obj
testPostgres_TOOL_LIBS += -lSQLClient -lpq
endif
ifneq ($(MYSQL),)
@ -59,6 +55,10 @@ MySQL_OBJC_FILES = MySQL.m
MySQL_LIB_DIRS = -L./obj
MySQL_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lmysqlclient
MySQL_PRINCIPAL_CLASS = SQLClientMySQL
TEST_TOOL_NAME += testMySQL
testMySQL_OBJC_FILES = testMySQL.m
testMySQL_LIB_DIRS += -L./obj
testMySQL_TOOL_LIBS += -lSQLClient
endif
ifneq ($(ORACLE_HOME),)