#  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@


           LNOBJS= \
		xh_launch.o \
		xnlaunch.o \
		em.o \
		lbutton.o \
		../au/au.o \
		../au/au_lex.o \
		../au/au_tree.o \
		../au/key.o \
		loadmenu.o

           LNLIBS= \
		$(MYLIBDIR)/libie.a \
		$(MYLIBDIR)/libnorthgui.a \
		$(MYLIBDIR)/libxnctool.a

           CXXINCLUDES= -I. \
		-I$(MYSRCDIR)/lib/manage \
		-I$(MYSRCDIR)/au \
		$(XINC)

           CXXOPT=$(DEFS) -DOLD_STYLE $(CFLAGS) $(DEB)
           LOCAL_LIBRARIES=$(PNGLIB) $(ZLIB) $(TLIB) $(XLIBS) $(LIBS)
           CINCLUDES=-I. -I$(MYSRCDIR)/lib/manage

all:: compile

compile:
	make $(MYBINDIR)/xnlaunch

$(MYBINDIR)/xnlaunch: $(LNOBJS) $(LNLIBS) $(JDEP)
	$(CXX) -o $@ $(LNOBJS) $(LNLIBS) $(LOCAL_LIBRARIES) $(JLIB) \
	$(LDFLAGS) $(DEB) $(STRIPPING)

clean:
	$(RMF) *.o
	$(RMF) $(MYBINDIR)/xnlaunch

FORCE:














