GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)

include $(GNUSTEP_MAKEFILES)/common.make

PACKAGE_NAME=GWorkspace

#
# subprojects
#
SUBPROJECTS = backgrounder \
              Inspectors/Viewers \
	      Viewers

#
# MAIN APP
#
APP_NAME = GWorkspace
GWorkspace_PRINCIPAL_CLASS = GWorkspace
GWorkspace_APPLICATION_ICON=FileManager.tiff

GWorkspace_RESOURCE_FILES = \
	Icons/* \
	Viewers/BrowserViewer/BrowserViewer.bundle \
	Viewers/IconsViewer/IconsViewer.bundle \
	Viewers/SmallIconsViewer/SmallIconsViewer.bundle \
	Inspectors/Viewers/AppViewer/AppViewer.bundle \
	Inspectors/Viewers/FolderViewer/FolderViewer.bundle \
	Inspectors/Viewers/ImageViewer/ImageViewer.bundle	

GWorkspace_LANGUAGES = English French German Italian Romanian Spanish

GWorkspace_LOCALIZED_RESOURCE_FILES = Localizable.strings

# The Objective-C source files to be compiled

GWorkspace_OBJC_FILES = main.m \
			GWorkspace.m \
			Workspace.m \
                        FileOperation.m \
                        IconViewsIcon.m \
                        GWSplitView.m \
                        Functions.m \
                        Watchers/Watcher.m \
                        Watchers/FileWatchers.m \
                        Viewers/ViewersWindow.m \
                        Shelf/Shelf.m \
                        Shelf/ShelfIcon.m \
			Inspectors/InspectorsWin.m \
                        Inspectors/AttributesPanel.m \
                        Inspectors/PermsBox.m \
                        Inspectors/TimeDateView.m \
                        Inspectors/ContentsPanel.m \
                        Inspectors/GenericContsView.m \
                        Inspectors/PermissionsPanel.m \
                        Inspectors/ToolsPanel.m \
                        Inspectors/AppsView.m \
                        Processes/Processes.m \
                        Processes/ProcsView.m \
                        Finder/Finder.m \
                        Finder/FinderShelf.m \
                        Finder/FinderShelfIcon.m \
                        Desktop/DesktopWindow.m \
                        Desktop/DesktopView.m \
                        Desktop/DesktopViewIcon.m \
			Recycler/Recycler.m \
			Recycler/RecyclerViews.m \
			Recycler/RecyclerIcon.m \
			Preferences/PreferencesWin.m \
                        Preferences/DefaultEditor.m \
                        Preferences/DefaultXTerm.m \
			Preferences/DefaultSortType.m \
                        Preferences/ViewersPreferences.m \
                        Preferences/IconViewsPreferences.m \
                        Preferences/ShelfPreferences.m \
                        Preferences/BrowserViewsPreferences.m \
                        Preferences/DesktopPreferences.m \
			History/History.m \
                        Dialogs/Dialogs.m \
                        Fiend/Fiend.m \
                        Fiend/FiendLeaf.m 
						 
-include GNUmakefile.preamble

-include GNUmakefile.local

include $(GNUSTEP_MAKEFILES)/aggregate.make

include $(GNUSTEP_MAKEFILES)/application.make

-include GNUmakefile.postamble
