2012-02-19 11:59:22 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(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 )
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
|
|
|
|
-include config.make
|
|
|
|
-include local.make
|
|
|
|
|
|
|
|
PACKAGE_NAME=EnterpriseControlConfigurationLogging
|
|
|
|
PACKAGE_VERSION=0.1.0
|
|
|
|
Ec_INTERFACE_VERSION=0.1
|
|
|
|
|
|
|
|
NEEDS_GUI=NO
|
|
|
|
|
2012-02-19 14:42:50 +00:00
|
|
|
# The libraries to be compiled
|
|
|
|
LIBRARY_NAME = ECCL EcTools
|
2012-02-19 11:59:22 +00:00
|
|
|
|
|
|
|
# The Objective-C source files to be compiled
|
|
|
|
ECCL_OBJC_FILES = \
|
|
|
|
EcAlarm.m \
|
|
|
|
EcAlarmDestination.m \
|
|
|
|
EcAlarmSinkSNMP.m \
|
|
|
|
EcAlerter.m \
|
|
|
|
EcBroadcastProxy.m \
|
|
|
|
EcHost.m \
|
|
|
|
EcLogger.m \
|
|
|
|
EcProcess.m \
|
|
|
|
EcUserDefaults.m \
|
|
|
|
|
|
|
|
ECCL_HEADER_FILES = \
|
|
|
|
EcAlarm.h \
|
|
|
|
EcAlarmDestination.h \
|
|
|
|
EcAlarmSinkSNMP.h \
|
|
|
|
EcAlerter.h \
|
|
|
|
EcBroadcastProxy.h \
|
|
|
|
EcHost.h \
|
|
|
|
EcLogger.h \
|
|
|
|
EcProcess.h \
|
|
|
|
EcUserDefaults.h \
|
|
|
|
|
2012-02-19 14:42:50 +00:00
|
|
|
EcTools_OBJC_FILES = \
|
|
|
|
EcCommand.m \
|
|
|
|
EcConsole.m \
|
|
|
|
EcControl.m \
|
|
|
|
EcClientI.m \
|
|
|
|
NSFileHandle+Printf.m \
|
|
|
|
|
|
|
|
|
2012-02-19 11:59:22 +00:00
|
|
|
TOOL_NAME = \
|
|
|
|
Command \
|
|
|
|
Console \
|
|
|
|
Control \
|
|
|
|
|
|
|
|
|
2012-02-19 14:42:50 +00:00
|
|
|
Command_OBJC_FILES = Command.m
|
|
|
|
Command_TOOL_LIBS += -lECCL -lEcTools
|
2012-02-19 11:59:22 +00:00
|
|
|
Command_LIB_DIRS += -L./$(GNUSTEP_OBJ_DIR)
|
|
|
|
|
2012-02-19 14:42:50 +00:00
|
|
|
Console_OBJC_FILES = Console.m
|
|
|
|
Console_TOOL_LIBS += -lECCL -lEcTools
|
2012-02-19 11:59:22 +00:00
|
|
|
Console_LIB_DIRS += -L./$(GNUSTEP_OBJ_DIR)
|
|
|
|
|
2012-02-19 14:42:50 +00:00
|
|
|
Control_OBJC_FILES = Control.m
|
|
|
|
Control_TOOL_LIBS += -lECCL -lEcTools
|
2012-02-19 11:59:22 +00:00
|
|
|
Control_LIB_DIRS += -L./$(GNUSTEP_OBJ_DIR)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOCUMENT_NAME = ECCL
|
|
|
|
|
|
|
|
ECCL_AGSDOC_FILES = \
|
|
|
|
EcAlarm.h \
|
|
|
|
EcAlarmDestination.h \
|
|
|
|
EcAlarmSinkSNMP.h \
|
|
|
|
EcAlerter.h \
|
|
|
|
EcHost.h \
|
|
|
|
EcLogger.h \
|
|
|
|
EcProcess.h \
|
|
|
|
EcUserDefaults.h \
|
|
|
|
|
|
|
|
|
|
|
|
ECCL_DOC_INSTALL_DIR = Libraries
|
|
|
|
|
|
|
|
|
|
|
|
-include GNUmakefile.preamble
|
|
|
|
|
|
|
|
include $(GNUSTEP_MAKEFILES)/library.make
|
|
|
|
include $(GNUSTEP_MAKEFILES)/tool.make
|
|
|
|
include $(GNUSTEP_MAKEFILES)/documentation.make
|
|
|
|
|
|
|
|
-include GNUmakefile.postamble
|