X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=Makefile.am;h=a9d50ba499364911ef749dd96986c9d825835fb2;hb=f4c5d3a20e78a3528181f6b2e2b090d86ff3ab15;hp=f6df4d16c9d6bde8d2634e65792eab794d97f32c;hpb=35bc3e7cef4318d9a43344b651f751ee128202d2;p=ctsim.git diff --git a/Makefile.am b/Makefile.am index f6df4d1..a9d50ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,13 +5,25 @@ EXTRA_DIRS1= endif if HAVE_SGP -EXTRA_DIRS2=libezplot libgraph +EXTRA_DIRS2=libctgraphics else EXTRA_DIRS2= endif -SUBDIRS=$(EXTRA_DIRS1) $(EXTRA_DIRS2) libcio libk libkmath libir src man html cgi-bin include -EXTRA_DIST=acsite.m4 make.bat +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 + +install-data-hook: + test -d $(datadir) || mkdir $(datadir) && chmod 0755 $(datadir) + install -g root -o root -m 0644 docs/ctsim.htb $(datadir) +