#
# GNUmakefile - Generated by ProjectCenter
#

include $(GNUSTEP_MAKEFILES)/common.make

#
# Application
#

PACKAGE_NAME = UL
APP_NAME = UL

#
#If this makefile is called from the main Adun makefile search for the newly built libraries first.
#Otherwise we use the installed libraries. Note: I thought MAKELEVEL here would be 1 (when called from
#the above directory) but its actually 2.
#

ifeq ($(MAKELEVEL), 2)
UL_LIB_DIRS += -L$(ADUN_SOURCE_DIR)/MolTalk/MolTalk.framework/Versions/Current \
	-L$(ADUN_SOURCE_DIR)/Kernel/Base/obj \
	-L$(ADUN_SOURCE_DIR)/Kernel/AdunKernel/AdunKernel.framework/Versions/Current 
endif

UL_LIB_DIRS += -L./XMLLib/obj -L. -L./ULFramework/ULFramework.framework/Versions/Current
UL_HEADER_FILES_INSTALL_DIR = UL/
UL_OBJC_LIBS =  -lXMLLib -lULFramework -lAdunKernel -lMolTalk -ladun_base  -lgsl -lgslcblas

GNUSTEP_INSTALLATION_DOMAIN = USER
#
# Subprojects
#
SUBPROJECTS = \
XMLLib \
ULFramework \
AdunServer \

#
# Resource files
#
UL_RESOURCE_FILES = \
Resources/UL.gorm \
Resources/Options.gorm \
Resources/System.gorm \
Resources/Converter.gorm \
Resources/ProgressPanel.gorm \
Resources/ExportPanel.gorm \
Resources/Results.gorm \
Resources/Template.gorm \
Resources/Preferences.gorm\
Resources/DatabasePanel.gorm\
Resources/Info-gnustep.plist \
Resources/defaultOptions.plist \
Resources/H2O.pdb \
Resources/splash.tiff \
Resources/document-save.png \
Resources/dataset-close.png \
Resources/apply.png \
Resources/reload.png \

#
# Header files
#
UL_HEADER_FILES = \
ViewController.h \
ULSimulationCreator.h \
ULPasteboard.h \
ULStatusTable.h \
ULViewControllerSimulationCommands.h \
ULPropertiesPanel.h \
ULOutlineViewDelegate.h \
ULSystemViewController.h \
ULAnalyser.h \
ULExportPanel.h \
ULAnalyserDataSetView.h \
ULDatabaseBrowser.h \
ULProgressPanel.h \
ULPreferences.h \
ULTemplateViewController.h \
ULConverter.h \
ULExportController.h \
ULDatabaseManager.h \
ULInterfaceFunctions.h \
ULOutlineViewAdditions.h \

#
# Class files
#
UL_OBJC_FILES = \
ViewController.m \
ULSimulationCreator.m \
ULPasteboard.m \
ULStatusTable.m \
ULViewControllerSimulationCommands.m \
ULPropertiesPanel.m \
ULOutlineViewDelegate.m  \
ULSystemViewController.m \
ULDatabaseBrowser.m \
ULDatabaseBrowserDataDisplay.m \
ULAnalyser.m \
ULAnalyserPluginExtensions.m \
ULAnalyserDataSetView.m \
ULProgressPanel.m \
ULExportPanel.m \
ULTemplateViewController.m \
ULConverter.m \
ULExportController.m \
ULPreferences.m \
ULDatabaseManager.m \
ULInterfaceFunctions.m \
ULOutlineViewAdditions.m \

#
# C files
#
UL_C_FILES = 

UL_OBJC_FILES += \
main.m 


#
# Makefiles
#

-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/application.make
-include GNUmakefile.postamble
