X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=Makefile.am;h=93a7c9896387d5dca6b4ab840a1d2c4e2934da31;hp=c2d2f85d70cc7cd3d92c0ba1113ec160e2f5f7cc;hb=a4501a7fb46ba0a87303add92d06ea400e21fec5;hpb=caa021c02677851eb50fdda6d24a1259f901b20b diff --git a/Makefile.am b/Makefile.am index c2d2f85..93a7c98 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,13 +4,29 @@ else EXTRA_DIRS1= endif -if HAVE_INTERACTIVE_GRAPHICS -EXTRA_DIRS2=libezplot libgraph +if HAVE_SGP +EXTRA_DIRS2=libctgraphics else 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=man libctsupport libctsim html cgi-bin include $(EXTRA_DIRS1) $(EXTRA_DIRS2) $(EXTRA_DIRS3) tools helical + +EXTRA_DIST=acsite.m4 make.bat msvc/ctsim.dsw msvc/ctsimtext/ctsimtext.dsp msvc/libctsim/libctsim.dsp msvc/ctsim/ctsim.dsp + +CLEANFILES=docs/html/\* config.log config.status configure.in config.h stamp-h1 +clean-local: + rm -rf docs/html + +#install-data-hook: +# test -d $(datadir) || mkdir -p $(datadir) && chmod 0755 $(datadir) +# install -g root -o root -m 0644 docs/ctsim.htb $(datadir)