Skip to content
Snippets Groups Projects
Makefile.am 1.89 KiB
Newer Older
  • Learn to ignore specific revisions
  • # we need the module file to be able to build via dunecontrol
    EXTRA_DIST=dune.module
    
    
    Oliver Sander's avatar
    Oliver Sander committed
    SUBDIRS = doc m4 dune test
    
    # possible options
    
    Oliver Sander's avatar
    Oliver Sander committed
    LDADD = $(IPOPT_LDFLAGS) $(IPOPT_LIBS)
    AM_CPPFLAGS += $(IPOPT_CPPFLAGS)
    
    noinst_PROGRAMS = cosserat-continuum rodobstacle rod3d harmonicmaps harmonicmaps-eoc dirneucoupling rod-eoc 
    
    cosserat_continuum_SOURCES  = cosserat-continuum.cc
    cosserat_continuum_CXXFLAGS = $(UG_CPPFLAGS) $(AMIRAMESH_CPPFLAGS) $(IPOPT_CPPFLAGS) $(PSURFACE_CPPFLAGS)
    cosserat_continuum_LDADD    = $(UG_LDFLAGS) $(AMIRAMESH_LDFLAGS) $(UG_LIBS) $(AMIRAMESH_LIBS) \
                                  $(IPOPT_LDFLAGS) $(IPOPT_LIBS) $(PSURFACE_LDFLAGS) $(PSURFACE_LIBS)
    
    rodobstacle_SOURCES = rodobstacle.cc
    
    Oliver Sander's avatar
    Oliver Sander committed
    rod3d_SOURCES = rod3d.cc
    
    harmonicmaps_SOURCES = harmonicmaps.cc
    harmonicmaps_CXXFLAGS = $(UG_CPPFLAGS) $(AMIRAMESH_CPPFLAGS) $(IPOPT_CPPFLAGS) $(PSURFACE_CPPFLAGS)
    harmonicmaps_LDADD    = $(UG_LDFLAGS) $(AMIRAMESH_LDFLAGS) $(UG_LIBS) $(AMIRAMESH_LIBS) \
                              $(IPOPT_LDFLAGS) $(IPOPT_LIBS) $(PSURFACE_LDFLAGS) $(PSURFACE_LIBS)
    
    harmonicmaps_eoc_SOURCES = harmonicmaps-eoc.cc
    harmonicmaps_eoc_CXXFLAGS = $(UG_CPPFLAGS) $(AMIRAMESH_CPPFLAGS) $(IPOPT_CPPFLAGS) $(PSURFACE_CPPFLAGS)
    harmonicmaps_eoc_LDADD    = $(UG_LDFLAGS) $(AMIRAMESH_LDFLAGS) $(UG_LIBS) $(AMIRAMESH_LIBS) \
                              $(IPOPT_LDFLAGS) $(IPOPT_LIBS) $(PSURFACE_LDFLAGS) $(PSURFACE_LIBS)
    
    
    dirneucoupling_SOURCES  = dirneucoupling.cc
    
    Oliver Sander's avatar
    Oliver Sander committed
    dirneucoupling_CXXFLAGS = $(UG_CPPFLAGS) $(AMIRAMESH_CPPFLAGS) $(IPOPT_CPPFLAGS) $(PSURFACE_CPPFLAGS)
    
    Oliver Sander's avatar
    Oliver Sander committed
    dirneucoupling_LDADD    = $(UG_LDFLAGS) $(AMIRAMESH_LDFLAGS) $(UG_LIBS) $(AMIRAMESH_LIBS) \
    
                              $(IPOPT_LDFLAGS) $(IPOPT_LIBS) $(PSURFACE_LDFLAGS) $(PSURFACE_LIBS)
    
    # don't follow the full GNU-standard
    # we need automake 1.5
    AUTOMAKE_OPTIONS = foreign 1.5
    
    
    include $(top_srcdir)/am/global-rules
    include $(top_srcdir)/am/top-rules