#  XNC -- a  filemanager for X Window
#                                
#  Copyright (C) 1996-99 by Leo Khramov
#  email:             leo@xnc.dubna.su
# 
#
#  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.
#

include ../../../make.conf

BASE_DIR = ../../..

@MCOMMON@

PLUGINFLAGS=$(SHAREFLAGS)

           FIVEOBJS= \
		fiveplugin.o \
		fivegeom.o \
		fivefuncs.o \
		fiveskin.o \
		fivegui.o \
                fivepanel.o \
		xncinifive.o \
		../common/iplugin.o

           CXXINCLUDES= -I. \
		-I$(MYSRCDIR)/lib/manage \
		-I$(MYSRCDIR)/lib/xbitmaps \
		-I$(MYSRCDIR)/lib/vfs \
		-I$(MYSRCDIR)/lib/vfs/ftplib \
		-I$(MYSRCDIR)/include/xnc \
		-I$(MYSRCDIR)/au \
		-I$(MYSRCDIR)/plugins/common \
		$(XINC)

           CXXOPT=$(DEFS) -DOLD_STYLE $(CFLAGS) $(DEB)
           CINCLUDES=-I. -I$(MYSRCDIR)/lib/manage

all:: compile

compile:
	make $(MYLIBDIR)/libxncfive.so

$(MYLIBDIR)/libxncfive.so: $(FIVEOBJS)
	$(CXX) -o $@ $(FIVEOBJS) -shared $(SHAREFLAGS) $(DEB) $(STRIPPING) $(LD_SHAREFLAGS)

clean:
	$(RMF) *.o
	$(RMF) ../common/*.o
	$(RMF) $(MYLIBDIR)/libxncfive.so

FORCE:














