#
#  Test apps makefile for GNUstep X/RAW GUI Backend
#
#  Copyright (C) 1997 Free Software Foundation, Inc.
#
#  Author: Scott Christley <scottc@net-community.com>
#
#  This file is part of the GNUstep X/RAW GUI Backend.
#
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Library General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
#
#  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
#  Library General Public License for more details.
#
#  You should have received a copy of the GNU Library 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.

ifeq ($(GNUSTEP_SYSTEM_ROOT),)
  GNUSTEP_SYSTEM_ROOT = $(TOPLEV)
endif

GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)

GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles

include $(GNUSTEP_MAKEFILES)/common.make

include ../Version

# The applications to be compiled
TEST_APP_NAME = \
		GNUstepInstaller \
		alertpanel \
		buttons \
		popupbuttons \
		fontpanel \
		gstextnetwork \
		matrix \
		menu \
		nsbrowser \
		nsbrowsercell \
		nscombobox \
		nscursor \
		nsimage \
		nsimagecell \
		nsprogressindicator \
		nsscroller \
		nstabview \
		nstextfields \
		scrollview \
		scrollview2 \
		windows

SUBPROJECTS = Calculator CurrencyConverter Edit GSTest

# The Objective-C source files to be compiled
GNUstepInstaller_OBJC_FILES = \
		GNUstepInstaller.m \
		GSImageTabViewItem.m \
		TestView.m \
		ColorView.m
GNUstepInstaller_RESOURCE_FILES = Smiley.tiff

alertpanel_OBJC_FILES = alertpanel.m

buttons_OBJC_FILES = buttons.m

popupbuttons_OBJC_FILES = popupbuttons.m TestView.m ColorView.m
popupbuttons_RESOURCE_FILES = \
		animations.tiff \
		appearance.tiff \
		configs.tiff \
		dock.tiff

fontpanel_OBJC_FILES = fontpanel.m

matrix_OBJC_FILES = matrix.m

menu_OBJC_FILES = menu.m
menu_RESOURCE_FILES = Smiley.tiff

nsbrowser_OBJC_FILES = nsbrowser.m

nsbrowsercell_OBJC_FILES = nsbrowsercell.m

nscombobox_OBJC_FILES = nscombobox.m

nscursor_OBJC_FILES = nscursor.m ColorView.m

nsimage_OBJC_FILES = nsimage.m ImageView.m

nsimagecell_OBJC_FILES = nsimagecell.m

nsprogressindicator_OBJC_FILES = nsprogressindicator.m

nsscroller_OBJC_FILES = nsscroller.m

nstextfields_OBJC_FILES = nstextfields.m

gstable_OBJC_FILES = gstable.m

gstextnetwork_OBJC_FILES = gstextnetwork.m
gstextnetwork_RESOURCE_FILES = ./Edit/Readme.txt

nstabview_OBJC_FILES = nstabview.m GSImageTabViewItem.m
nstabview_RESOURCE_FILES = Smiley.tiff

scrollview_OBJC_FILES = scrollview.m TestView.m

scrollview2_OBJC_FILES = scrollview2.m

windows_OBJC_FILES = windows.m TestView.m


-include GNUmakefile.preamble

-include GNUmakefile.local

include $(GNUSTEP_MAKEFILES)/test-application.make
include $(GNUSTEP_MAKEFILES)/aggregate.make

-include GNUmakefile.postamble

