# GNUstep makefile

-include ../../config.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../Version
include ./Version

LIBRARY_NAME     = libWOExtensions
BUNDLE_NAME      = WOExtensions
BUNDLE_EXTENSION = .wox
BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/WOxElemBuilders-$(MAJOR_VERSION).$(MINOR_VERSION)/

FHS_MANPAGES += doc/*.3

libWOExtensions_HEADER_FILES_DIR	 = .
libWOExtensions_HEADER_FILES_INSTALL_DIR = /WOExtensions

libWOExtensions_HEADER_FILES = \
	WOExtensions.h			\
	WORedirect.h			\

libWOExtensions_OBJC_FILES = \
	WOxExtElemBuilder.m		\
	compat.m		        \
	WOKeyValueConditional.m	        \
	WORedirect.m		        \
	WOTabPanel.m		        \
	WOTable.m		        \
	JSAlertPanel.m		        \
	JSConfirmPanel.m	        \
	JSImageFlyover.m	        \
	JSTextFlyover.m		        \
	JSValidatedField.m	        \
	JSModalWindow.m                 \
	WOCollapsibleComponentContent.m \
	WODictionaryRepetition.m        \
	WOThresholdColoredNumber.m      \
	WORadioButtonMatrix.m           \
	WOCheckBoxMatrix.m              \

WOExtensions_OBJC_FILES      += WOExtensionsBuilderModule.m
WOExtensions_PRINCIPAL_CLASS = WOExtensionsBuilderModule

-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/library.make
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include fhs.make