1997-11-14 22:50:41 +00:00
|
|
|
#
|
|
|
|
# test-tool.make
|
|
|
|
#
|
|
|
|
# Makefile rules for dejagnu/GNUstep based testing
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Makefile Package.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
|
|
|
# License along with this library; see the file COPYING.LIB.
|
|
|
|
# If not, write to the Free Software Foundation,
|
|
|
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
# prevent multiple inclusions
|
|
|
|
ifeq ($(TEST_TOOL_MAKE_LOADED),)
|
|
|
|
TEST_TOOL_MAKE_LOADED=yes
|
|
|
|
|
|
|
|
#
|
|
|
|
# Include in the common makefile rules
|
|
|
|
#
|
1998-02-06 19:15:05 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/rules.make
|
1997-11-14 22:50:41 +00:00
|
|
|
|
|
|
|
# building of test tools calls the tool.make rules
|
|
|
|
ifeq ($(INTERNAL_tool_NAME),)
|
|
|
|
|
|
|
|
internal-all:: $(TEST_TOOL_NAME:=.all.tool.variables)
|
|
|
|
|
|
|
|
internal-clean:: $(TEST_TOOL_NAME:=.clean.tool.variables)
|
|
|
|
|
|
|
|
internal-distclean:: $(TEST_TOOL_NAME:=.distclean.tool.variables)
|
|
|
|
|
|
|
|
$(TEST_TOOL_NAME):
|
1998-01-09 22:05:03 +00:00
|
|
|
@$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory $@.all.tool.variables
|
1997-11-14 22:50:41 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
# We use the tool.make rules for building
|
1998-02-06 19:15:05 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/tool.make
|
1997-11-14 22:50:41 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
# However we do not install test tools
|
|
|
|
ifeq ($(INTERNAL_testtool_NAME),)
|
|
|
|
|
|
|
|
internal-install:: $(TEST_TOOL_NAME:=.install.testtool.variables)
|
|
|
|
|
|
|
|
internal-uninstall:: $(TEST_TOOL_NAME:=.uninstall.testtool.variables)
|
|
|
|
|
|
|
|
internal-check:: $(TEST_TOOL_NAME:=.check.testtool.variables)
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
internal-install:: $(TEST_TOOL_NAME:=.install.testtool.variables)
|
|
|
|
|
|
|
|
internal-uninstall:: $(TEST_TOOL_NAME:=.uninstall.testtool.variables)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
1998-05-28 06:56:11 +00:00
|
|
|
internal-testtool-install::
|
|
|
|
|
|
|
|
internal-testtool-check::
|
|
|
|
|
1997-11-14 22:50:41 +00:00
|
|
|
endif
|
|
|
|
# test-tool.make loaded
|
1998-05-28 06:56:11 +00:00
|
|
|
|
|
|
|
## Local variables:
|
|
|
|
## mode: makefile
|
|
|
|
## End:
|