X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=Makefile.am;h=0d91a1ac2210ecab8253c76b942700e73e58aa6d;hp=8619c5bde49ab376b2fe5ac35b111b8a336c679c;hb=ee3b6b957bf6786bd0b4c15ce67c22381a8301fc;hpb=13838bda88b63a2535b5baaf7197006767de4b8e diff --git a/Makefile.am b/Makefile.am index 8619c5b..0d91a1a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,32 @@ 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_SGP +EXTRA_DIRS2=libctgraphics +else +EXTRA_DIRS2= +endif + +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)