mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-19 01:50:49 +00:00
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:
parent
f8c5212e68
commit
ad6d3adfd9
1 changed files with 13 additions and 13 deletions
26
GNUmakefile
26
GNUmakefile
|
@ -4,19 +4,7 @@ include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
PACKAGE_NAME = SQLClient
|
PACKAGE_NAME = SQLClient
|
||||||
|
|
||||||
TEST_TOOL_NAME = testPostgres testMySQL testECPG
|
TEST_TOOL_NAME=
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
LIBRARY_NAME=SQLClient
|
LIBRARY_NAME=SQLClient
|
||||||
|
|
||||||
|
@ -43,6 +31,10 @@ ECPG_OBJC_FILES = ECPG.m
|
||||||
ECPG_LIB_DIRS = -L./obj
|
ECPG_LIB_DIRS = -L./obj
|
||||||
ECPG_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lecpg
|
ECPG_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lecpg
|
||||||
ECPG_PRINCIPAL_CLASS = SQLClientECPG
|
ECPG_PRINCIPAL_CLASS = SQLClientECPG
|
||||||
|
TEST_TOOL_NAME += testECPG
|
||||||
|
testECPG_OBJC_FILES = testECPG.m
|
||||||
|
testECPG_TOOL_LIBS += -lSQLClient
|
||||||
|
testECPG_LIB_DIRS += -L./obj
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(POSTGRES),)
|
ifneq ($(POSTGRES),)
|
||||||
|
@ -51,6 +43,10 @@ Postgres_OBJC_FILES = Postgres.m
|
||||||
Postgres_LIB_DIRS = -L./obj
|
Postgres_LIB_DIRS = -L./obj
|
||||||
Postgres_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lpq
|
Postgres_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lpq
|
||||||
Postgres_PRINCIPAL_CLASS = SQLClientPostgres
|
Postgres_PRINCIPAL_CLASS = SQLClientPostgres
|
||||||
|
TEST_TOOL_NAME += testPostgres
|
||||||
|
testPostgres_OBJC_FILES = testPostgres.m
|
||||||
|
testPostgres_LIB_DIRS += -L./obj
|
||||||
|
testPostgres_TOOL_LIBS += -lSQLClient -lpq
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(MYSQL),)
|
ifneq ($(MYSQL),)
|
||||||
|
@ -59,6 +55,10 @@ MySQL_OBJC_FILES = MySQL.m
|
||||||
MySQL_LIB_DIRS = -L./obj
|
MySQL_LIB_DIRS = -L./obj
|
||||||
MySQL_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lmysqlclient
|
MySQL_BUNDLE_LIBS += -lSQLClient -lgnustep-base -lobjc -lmysqlclient
|
||||||
MySQL_PRINCIPAL_CLASS = SQLClientMySQL
|
MySQL_PRINCIPAL_CLASS = SQLClientMySQL
|
||||||
|
TEST_TOOL_NAME += testMySQL
|
||||||
|
testMySQL_OBJC_FILES = testMySQL.m
|
||||||
|
testMySQL_LIB_DIRS += -L./obj
|
||||||
|
testMySQL_TOOL_LIBS += -lSQLClient
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(ORACLE_HOME),)
|
ifneq ($(ORACLE_HOME),)
|
||||||
|
|
Loading…
Reference in a new issue