[MOAB-dev] r3592 - MOAB/trunk/tools/dagmc
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu Mar 11 13:36:45 CST 2010
Author: kraftche
Date: 2010-03-11 13:36:45 -0600 (Thu, 11 Mar 2010)
New Revision: 3592
Modified:
MOAB/trunk/tools/dagmc/Makefile.am
Log:
clean up conditional build logic
Modified: MOAB/trunk/tools/dagmc/Makefile.am
===================================================================
--- MOAB/trunk/tools/dagmc/Makefile.am 2010-03-11 19:36:27 UTC (rev 3591)
+++ MOAB/trunk/tools/dagmc/Makefile.am 2010-03-11 19:36:45 UTC (rev 3592)
@@ -7,22 +7,29 @@
libdagmc_la_include_HEADERS = cubfile.h DagMC.hpp
if HAVE_CGM
-AM_CPPFLAGS += $(CGM_INCLUDES) $(CGM_CPPFLAGS) -DCGM $(MOAB_CGM_DEFINES)
-AM_CXXFLAGS += $(CGM_CXXFLAGS)
+ AM_CPPFLAGS += $(CGM_INCLUDES) $(CGM_CPPFLAGS) -DCGM $(MOAB_CGM_DEFINES)
+ AM_CXXFLAGS += $(CGM_CXXFLAGS)
if NETCDF_FILE
- noinst_PROGRAMS = update_coords quads_to_tris
+ netcdf_progs = update_coords
+else
+ netcdf_progs =
endif
-bin_PROGRAMS = cgm2moab
+
+ cgm2moabbin = cgm2moab
+ cgm2moabman = cgm2moab.man
+else
+ cgm2moabbin=
+ cgm2moabman=
+endif
+
cgm2moab_SOURCES = main.cc cubfile.c
cgm2moab_LDFLAGS = $(CGM_LTFLAGS) $(CGM_LDLFAGS)
cgm2moab_LDADD = $(LDADD)
cgm2moab_DEPENDENCIES = libdagmc.la $(top_builddir)/src/libMOAB.la
-cgm2moabman = cgm2moab.man
-else
-cgm2moabman=
-endif
+bin_PROGRAMS = $(cgm2moabbin)
+noinst_PROGRAMS = quads_to_tris $(netcdf_progs)
man1_MANS = $(cgm2moabman)
CGM_CPPFLAGS = @CGM_CPPFLAGS@
More information about the moab-dev
mailing list