1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
# examples makefile for the GNUstep Base Library
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Written by: Scott Christley <scottc@net-community.com>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2005-07-15 22:51:23 +00:00
|
|
|
# modify it under the terms of the GNU General Public
|
1997-09-23 21:00:33 +00:00
|
|
|
# License as published by the Free Software Foundation; either
|
2007-09-14 11:36:11 +00:00
|
|
|
# version 3 of the License, or (at your option) any later version.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2005-07-15 22:51:23 +00:00
|
|
|
# General Public License for more details.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
2005-07-15 22:51:23 +00:00
|
|
|
# You should have received a copy of the GNU General Public
|
1997-09-23 21:00:33 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2007-02-19 14:26:53 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
|
2007-02-20 00:09:10 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
2009-05-04 07:23:46 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
2009-05-29 10:17:21 +00:00
|
|
|
$(warning )
|
|
|
|
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
|
|
|
$(warning Perhaps gnustep-make is not properly installed,)
|
|
|
|
$(warning so gnustep-config is not in your PATH.)
|
|
|
|
$(warning )
|
|
|
|
$(warning Your PATH is currently $(PATH))
|
|
|
|
$(warning )
|
2009-05-04 07:23:46 +00:00
|
|
|
endif
|
2007-02-20 00:09:10 +00:00
|
|
|
endif
|
2007-02-19 14:26:53 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
|
|
endif
|
|
|
|
|
2008-12-19 12:53:30 +00:00
|
|
|
PACKAGE_NAME = gnustep-base
|
2007-02-20 00:09:10 +00:00
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES = ../base.make
|
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2010-03-11 08:08:08 +00:00
|
|
|
-include ../config.mak
|
|
|
|
|
2003-10-15 10:34:59 +00:00
|
|
|
# The tools to be created
|
1997-10-30 22:23:50 +00:00
|
|
|
TEST_TOOL_NAME = \
|
2009-06-19 15:51:11 +00:00
|
|
|
dictionary \
|
|
|
|
nsconnection \
|
|
|
|
nsconnection_client \
|
|
|
|
nsconnection_server \
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2003-10-15 10:34:59 +00:00
|
|
|
# The Objective-C source files to be compiled to create each tool
|
1997-09-23 21:00:33 +00:00
|
|
|
dictionary_OBJC_FILES = dictionary.m
|
2009-06-19 15:51:11 +00:00
|
|
|
nsconnection_OBJC_FILES = nsconnection.m
|
|
|
|
nsconnection_client_OBJC_FILES = nsconnection_client.m
|
|
|
|
nsconnection_server_OBJC_FILES = nsconnection_server.m
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2000-06-20 15:18:23 +00:00
|
|
|
include Makefile.preamble
|
1997-09-23 21:00:33 +00:00
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/test-tool.make
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2000-06-20 15:18:23 +00:00
|
|
|
include Makefile.postamble
|