include ../config.mak

include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make

SUBPROJECTS = bundles

# The library to be compiled
LIBRARY_NAME=libgyve
TOOL_NAME=gyve
libgyve_C_FILES= gtkvfbox.c gtkfbox.c gconsole.c 
libgyve_OBJC_FILES= \
                      psconsole.m\
                      toolbox.m \
                      geometry.m \
                      PSPath.m  \
                      GyveNil.m \
                      GyveLayer.m \
                      GyveBuffer.m \
                      Gyve.m \
                      utilities.m \
                      GyveView.m \
                      GyveDrawingEngine.m \
 	              constant.m \
	              GyveCanvas.m \
	              GyveWindow.m \
                      GyveEventHandler.m \
	              GuileConsole.m \
                      PostScriptConsole.m \
 	              PSBBox.m \
                      GyveSelectionsLayer.m \
                      PSFigObj.m \
                      PSText.m \
                      PSImage.m \
                      PSFigObjGroup.m \
                      PSMaskedFigObjGroup.m \
                      PSCompoundPaths.m \
                      PSPaintStyle.m \
                      GyveHitDetector.m \
                      GyveTool.m \
                      GyveMiscTool.m \
                      GyveCreatingTool.m \
                      GyveEditingTool.m \
                      GyveTextTool.m \
                      GyveVisitor.m \
                      PSMatrix.m \
                      layers_pallet.m \
	              PSSegment.m \
                      GyveGUI.m \
                      LayersPallet.m\
                      ToolBox.m \
                      PSColor.m\
                      PSProcessColor.m \
                      PSCustomColor.m\
                      PaintStylePallet.m\
                      paint_style_pallet.m \
	              GyveScrolledCanvas.m \
                      dps.m \
                      TextStylePallet.m\
                      PSTextStyle.m\
                      text_style_pallet.m\
                      PSTextElement.m\
                      popup_menu.m\
                      GyvePrinter.m\
                      painting_preview.m\
                      PSPattern.m

libgyve_HEADER_FILES_DIR = .
libgyve_HEADER_FILES_INSTALL_DIR = /gyve

libgyve_HEADER_FILES = \
                      geometry.h \
                      PSSegment.h \
                      PSPath.h \
                      GyveNil.h \
                      GyveLayer.h \
                      GyveBuffer.h \
                      Gyve.h \
                      PSBBox.h \
                      utilities.h \
                      gconsole.h \
                      psconsole.h\
                      GyveView.h \
                      GyveDrawingEngine.h \
                      constant.h \
                      GyveEventHandler.h \
	              GyveCanvas.h \
                      GyveWindow.h \
	              GuileConsole.h \
                      PostScriptConsole.h \
                      GyveSelectionsLayer.h \
                      PSFigObj.h \
                      PSText.h \
                      PSImage.h \
                      PSFigObjGroup.h \
                      PSMaskedFigObjGroup.h \
                      PSCompoundPaths.h \
                      PSPaintStyle.h \
                      GyveHitDetector.h \
                      GyveTool.h \
                      GyveMiscTool.h \
                      GyveCreatingTool.h \
                      GyveEditingTool.h \
                      GyveTextTool.h \
                      containing.h	\
                      enumerating.h \
                      GyveVisitor.h \
                      PSMatrix.h \
                      toolbox.h \
                      gtkfbox.h \
                      gtkvfbox.h \
                      pixmaps-gimp.h \
                      layers_pallet.h \
                      GyveGUI.h \
                      LayersPallet.h\
                      ToolBox.h \
                      PSColor.h\
                      PSProcessColor.h \
                      PSCustomColor.h \
                      PaintStylePallet.h\
                      paint_style_pallet.h\
	              GyveScrolledCanvas.h\
                      dps.h\
                      TextStylePallet.h\
                      PSTextStyle.h\
                      text_style_pallet.h\
                      PSTextElement.h\
                      popup_menu.h\
                      GyvePrinter.h\
                      painting_preview.h\
                      PSPattern.h\
                      PSGradation.h

libgyve_PSWRAP_FILES = \
                        coord_tr.psw \
                        draw.psw\
                        text.psw\
                        init.psw\
                        pattern.psw

gyve_OBJC_FILES = main.m

-include Makefile.preamble

include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/aggregate.make
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/library.make
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/tool.make

-include Makefile.postamble
