r21: *** empty log message ***
[ctsim.git] / Makefile.am
index 8619c5bde49ab376b2fe5ac35b111b8a336c679c..b1b74c9008463879b48b87c6fbecf04067201912 100644 (file)
@@ -1,10 +1,16 @@
 if INCLUDED_GETOPT_LONG
-EXTRA_DIRS=getopt
+  EXTRA_DIRS1 = getopt
 else
-EXTRA_DIRS=
+  EXTRA_DIRS1 =
 endif
 
-SUBDIRS=$(EXTRA_DIRS) libcio libk libkmath libgraph libezplot libir src man html cgi-bin include 
+if HAVE_INTERACTIVE_GRAPHICS
+  EXTRA_DIRS2 = libezplot libgraph
+else
+  EXTRA_DIRS2 =
+endif
+
+SUBDIRS=$(EXTRA_DIRS1) $(EXTRA_DIRS2) libcio libk libkmath libir src man html cgi-bin include