#
#  GNUmakefile for Ploplet
#  Copyright (C) 2003
#
#  Author: Yen-Ju Chen <yjchenx@hotmail.com>
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#  
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#   
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

include $(GNUSTEP_MAKEFILES)/common.make

BUNDLE_NAME = Ploplet
BUNDLE_EXTENSION = .toolbox

BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/Toolbox

Ploplet_RESOURCE_FILES = PlopletInfo.plist \
                         Ploplet.tiff \
                         PlopletHelp.rtf \
                         PlopletDefaults.plist

Ploplet_OBJC_FILES = \
                     Ploplet.m \
                     PlopletView.m \
                     Element.m \
                     Plop.m \
                     Channel.m

Ploplet_HEADERS = \
		Ploplet.h \
                PlopletView.h \
                Element.h \
                Plop.h \
                Channel.h

Ploplet_PRINCIPAL_CLASS = \
	Ploplet

ADDITIONAL_GUI_LIBS += -lToolbox \
                       `xml2-config --libs`

ADDITIONAL_OBJCFLAGS = -Wall

ADDITIONAL_INCLUDE_DIRS += -I.. \
                           `xml2-config --cflags`

include $(GNUSTEP_MAKEFILES)/bundle.make

-include GNUmakefile.postamble
