# -*- Mode: makefile  -*-
#
# $Id: Makefile.am,v 1.3 1997/02/08 16:13:04 prudhomm Exp $
#
# SUMMARY:      
# USAGE:        make <make-target>
#
# AUTHOR:       Christophe Prud'homme
# ORG:           
# E-MAIL:       Christophe.Prudhomme@asci.fr
#
# ORIG-DATE:     2-Nov-96 at 03:56:10
# LAST-MOD:      2-Nov-96 at 03:56:10 by Christophe Prud'homme
#
# DESCRIPTION:  
#  - Look in GNU Coding standards for further informations
#
# $Log: Makefile.am,v $
# Revision 1.3  1997/02/08 16:13:04  prudhomm
#  - minor changes
#  - corrected bugs in mesh adaptation: boundary references problems
#  - corrected file format for solution saving and loading
#  - plus many other things I forgot
#
# Revision 1.2  1996/11/02 02:58:51  prudhomm
# added file headers
# added informations in README file
#
# DESCRIP-END.	

# @CXXFLAGS@     : is set to -g -Wall (when debuging) or -O2 -Wall (when not)
# @all_includes@ : is set to all needed include paths for QT, KDE and X11
# -I.. 	         : needed for config.h
CXXFLAGS= @CXXFLAGS@ -g @all_includes@ -DHAVE_CONFIG_H -I..

# redefine the all rule so that I can copy libfem in kfem directory
all: Makefile $(LIBRARIES) copy



noinst_LIBRARIES	= libfem.a

libfem_a_SOURCES	= syntaxic.cxx lexical.cxx disk.cxx triangul.cxx gibbs.cxx fem.cxx fem1.cxx fem1c.cxx opclass.cxx  ugraph.cxx xrgraph.cxx config.h fem.h fem1c.h lexical.h rgraph.h triangul.h disk.h fem1.h gibbs.h opclass.h syntaxic.h ugraph.h GFem.h GFem.cpp

SUFFIXES	= .cxx .h

EXTRA_DIST	= macrgraf.cxx pcrgraph.cxx

copy: $(LIBRARIES)
	cp libfem.a $(top_srcdir)/../kfem