if INCLUDED_GETOPT_LONG
- EXTRA_DIRS1 = getopt
+EXTRA_DIRS1=getopt
else
- EXTRA_DIRS1 =
+EXTRA_DIRS1=
endif
-if HAVE_INTERACTIVE_GRAPHICS
- EXTRA_DIRS2 = libezplot libgraph
+if HAVE_SGP
+EXTRA_DIRS2=libctgraphics
else
- EXTRA_DIRS2 =
+EXTRA_DIRS2=
endif
-SUBDIRS=$(EXTRA_DIRS1) $(EXTRA_DIRS2) libcio libk libkmath libir src man html cgi-bin include
+if HAVE_WXWINDOWS
+EXTRA_DIRS3=src
+else
+EXTRA_DIRS3=
+endif
+
+SUBDIRS=$(EXTRA_DIRS1) $(EXTRA_DIRS2) libctsupport libctsim man doc html cgi-bin include tools $(EXTRA_DIRS3)
+
+EXTRA_DIST=acsite.m4 make.bat msvc/ctsim.dsw msvc/pjrec/pjrec.dsp msvc/libctsim/libctsim.dsp msvc/ctsim/ctsim.dsp