1## Process this file with automake to produce Makefile.in 2 3AUTOMAKE_OPTIONS = foreign 4 5SUBDIRS = src 6 7if REPLACE_CPP 8SUBDIRS += tests . 9man_page = mcpp-gcc 10else 11man_page = mcpp 12endif 13man1_MANS = $(man_page).1 14 15EXTRA_DIST = $(top_srcdir)/LICENSE $(top_srcdir)/INSTALL* \ 16 $(top_srcdir)/ChangeLog.old $(top_srcdir)/NEWS \ 17 $(top_srcdir)/mcpp.1 $(top_srcdir)/mcpp-gcc.1 $(top_srcdir)/config \ 18 $(top_srcdir)/src/preproc.c $(top_srcdir)/src/noconfig.H \ 19 $(top_srcdir)/src/cc1.c $(top_srcdir)/src/*set_mcpp.sh \ 20 $(top_srcdir)/src/testmain.c $(top_srcdir)/src/mcpp_lib.def \ 21 $(top_srcdir)/tests/*_test.sh $(top_srcdir)/noconfig \ 22 $(top_srcdir)/cpp-test $(top_srcdir)/test-t \ 23 $(top_srcdir)/test-c $(top_srcdir)/test-l $(top_srcdir)/tool \ 24 $(top_srcdir)/doc $(top_srcdir)/doc-jp 25 26if ! REPLACE_CPP 27install-exec-hook: 28 $(top_srcdir)/config/install-sh -d "$(DESTDIR)$(prefix)/share/doc/mcpp" 29 cp -pf $(top_srcdir)/LICENSE $(top_srcdir)/README $(top_srcdir)/NEWS \ 30 $(DESTDIR)$(prefix)/share/doc/mcpp 31 cp -pf $(top_srcdir)/doc/mcpp-manual.html \ 32 $(DESTDIR)$(prefix)/share/doc/mcpp 33 cp -pf $(top_srcdir)/doc-jp/mcpp-manual.html \ 34 $(DESTDIR)$(prefix)/share/doc/mcpp/mcpp-manual-jp.html 35uninstall-hook: 36 rm -rf $(DESTDIR)$(prefix)/share/doc/mcpp 37endif 38 39