1 ## Process this file with automake to produce Makefile.in
2 SUBDIRS = ginac check ginsh tools doc
3 DIST_SUBDIRS = ginac check ginsh tools doc
6 pkgconfigdir = $(libdir)/pkgconfig
7 pkgconfig_DATA = ginac.pc
8 $(pkgconfig_DATA): config.status
10 CMAKE_FILES = CMakeLists.txt \
14 cmake/modules/FindCLN.cmake \
15 cmake/modules/FindReadline.cmake \
16 cmake/modules/FindGiNaC.cmake \
17 cmake/modules/FindLibDL.cmake
19 BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py
21 # All the rest of the distributed files
22 EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS) $(CMAKE_FILES)
24 # Rule to build tar-bzipped distribution package
25 $(PACKAGE)-$(VERSION).tar.gz: dist
27 # Rule to build RPM distribution package
28 rpm: $(PACKAGE)-$(VERSION).tar.gz
29 rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
31 ACLOCAL_AMFLAGS = -I m4