1997-11-14 22:50:41 +00:00
|
|
|
#
|
|
|
|
# test-tool.make
|
|
|
|
#
|
2001-07-10 11:20:49 +00:00
|
|
|
# Copyright (C) 1997, 2001 Free Software Foundation, Inc.
|
1997-11-14 22:50:41 +00:00
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
2001-07-10 11:20:49 +00:00
|
|
|
# Author: Nicola Pero <nicola@brainstorm.co.uk>
|
1997-11-14 22:50:41 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
1999-02-15 09:20:19 +00:00
|
|
|
TEST_TOOL_NAME:=$(strip $(TEST_TOOL_NAME))
|
|
|
|
|
1997-11-14 22:50:41 +00:00
|
|
|
#
|
|
|
|
# Include in the common makefile rules
|
|
|
|
#
|
2001-07-10 09:45:34 +00:00
|
|
|
ifeq ($(RULES_MAKE_LOADED),)
|
1998-02-06 19:15:05 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/rules.make
|
2001-07-10 09:45:34 +00:00
|
|
|
endif
|
1997-11-14 22:50:41 +00:00
|
|
|
|
2001-07-10 11:20:49 +00:00
|
|
|
# building of test tools works as in tool.make
|
1997-11-14 22:50:41 +00:00
|
|
|
ifeq ($(INTERNAL_tool_NAME),)
|
|
|
|
|
|
|
|
internal-all:: $(TEST_TOOL_NAME:=.all.tool.variables)
|
|
|
|
|
2001-07-13 15:33:31 +00:00
|
|
|
internal-clean:: $(TEST_TOOL_NAME:=.clean.tool.subprojects)
|
|
|
|
rm -rf $(GNUSTEP_OBJ_DIR)
|
1997-11-14 22:50:41 +00:00
|
|
|
|
2001-07-13 15:33:31 +00:00
|
|
|
internal-distclean:: $(TEST_TOOL_NAME:=.distclean.tool.subprojects)
|
|
|
|
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
|
|
|
static_debug_obj static_profile_obj shared_profile_debug_obj \
|
|
|
|
static_profile_debug_obj
|
1997-11-14 22:50:41 +00:00
|
|
|
|
1998-11-10 06:49:57 +00:00
|
|
|
$(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
|
|
|
|
2001-07-10 11:20:49 +00:00
|
|
|
# However, we don't install/uninstall test-tools
|
|
|
|
internal-install::
|
|
|
|
@ echo Skipping installation of test tools...
|
1997-11-14 22:50:41 +00:00
|
|
|
|
2001-07-10 11:20:49 +00:00
|
|
|
internal-uninstall::
|
|
|
|
@ echo Skipping uninstallation of test tools...
|
1997-11-14 22:50:41 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2001-07-10 11:20:49 +00:00
|
|
|
# We use the tool.make rules for building
|
|
|
|
include $(GNUSTEP_MAKEFILES)/tool.make
|
1997-11-14 22:50:41 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2001-07-10 11:20:49 +00:00
|
|
|
endif # test-tool.make loaded
|
1998-05-28 06:56:11 +00:00
|
|
|
|
|
|
|
## Local variables:
|
|
|
|
## mode: makefile
|
|
|
|
## End:
|