netgenplugin/Makefile.in

70 lines
1.5 KiB
Makefile
Raw Normal View History

2004-03-26 12:05:19 +05:00
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 28/06/2001
# $Header$
#
# source path
top_srcdir=@top_srcdir@
top_builddir=.
srcdir=@srcdir@
2004-12-17 16:38:32 +05:00
VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
2004-03-26 12:05:19 +05:00
@COMMENCE@
SUBDIRS = idl src
RESOURCES_FILES = NETGENPlugin.xml
2004-12-17 16:38:32 +05:00
BIN_SCRIPT = VERSION
2004-03-26 12:05:19 +05:00
# copy header files in common directory ------------
ifeq ($(HAVE_SSTREAM),yes)
include_list=include/salome/SALOMEconfig.h
else
include_list=include/salome/SALOMEconfig.h include/salome/sstream
endif
inc: idl $(include_list)
include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
-$(RM) $@
$(LN_S) ../../$< $@
# test if SALOMEconfig.h has changed (contents)
salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
@if ! [ -a $@ ]; then \
cp -p -f $< $@; \
fi; \
if ! cmp $< $@; then \
cp -p -f $< $@; \
fi; \
include/salome/sstream: salome_adm/unix/sstream
-$(RM) $@
$(LN_S) ../../$< $@
2004-12-17 16:38:32 +05:00
# install script in $(bindir) :
install-bin: $(BIN_SCRIPT)
$(INSTALL) -d $(bindir)
if test $(BIN_SCRIPT)X != X; then \
$(INSTALL_PROGRAM) $^ $(bindir); \
fi
2004-03-26 12:05:19 +05:00
# CLEAN --------------------
distclean: distclean-other
distclean-other:
-$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
-$(RM) salome_adm/unix/make_*
-$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
-$(RM) config.cache config.log config.status
@MODULE@
2004-12-17 16:38:32 +05:00
install: install-bin