Index: /issm/trunk/src/ad/Makefile.am
===================================================================
--- /issm/trunk/src/ad/Makefile.am	(revision 9758)
+++ /issm/trunk/src/ad/Makefile.am	(revision 9759)
@@ -16,8 +16,4 @@
 if AD
 lib_LIBRARIES += libAD.a 
-endif
-
-if DAKOTA
-lib_LIBRARIES += libDAKOTA.a
 endif
 
@@ -548,8 +544,8 @@
 endif
 #}}}
-#DAKOTA library  {{{1
+#DAKOTA sources  {{{1
 
 if DAKOTA
-libDAKOTA_a_SOURCES = ./objects/DakotaPlugin.h\
+libpISSM_a_SOURCES +=  ./objects/DakotaPlugin.h\
 					  ./objects/DakotaPlugin.cpp\
 					  ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
@@ -561,5 +557,4 @@
 					  ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
 					  ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
-					  ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
 					  ./modules/Dakotax/Dakotax.h\
 					  ./modules/Dakotax/Dakotax.cpp\
@@ -570,6 +565,6 @@
 					  ./modules/Dakotax/DescriptorIndex.cpp\
 					  ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
+					  ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
 					  ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h
-
 
 libDAKOTA_a_CXXFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(CXXOPTFLAGS)
@@ -592,8 +587,4 @@
 endif
 
-if DAKOTA
-LDADD +=    ./libDAKOTA.a ./libpISSM.a 
-endif
-
 #External packages
 LDADD += $(PETSCLIB) $(TAOLIB) $(FLIBS) $(PLAPACKLIB)  $(MUMPSLIB) $(SCALAPACKLIB)  $(BLACSLIB) $(HYPRELIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB)  $(MKLLIB) $(MPILIB) $(MATHLIB) $(FORTRANLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(ADICLIB) 
