Makefile.am 1.27 KB
Newer Older
1 2
## Process this file with automake to produce Makefile.in

3 4
SUBDIRS = @XGRAPHDIR@ src man tests
DIST_SUBDIRS = @XGRAPHDIR@ src man tests
5

6
EXTRA_DIST = FAQ autogen.sh Stuarts_Poly_Notes  \
7
		ANALYSES BUGS AUTHORS ChangeLog \
8
		DEVICES NEWS README README.tcl \
9 10 11
		README.shared-xspice README.vdmos \
		README.adms README-old.adms contrib \
		examples m4 visualc @NOTXGRAPH@ \
12
		xgraph/aclocal.m4 \
13 14
		build-for-mac-os.sh \
		cross-compile.sh cross-compile-shared.sh \
15 16
		compile_min.sh compile_linux.sh compile_min_shared.sh \
		ngspice.pc.in .gitignore
17

18 19
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 ar-lib compile config.guess \
			src/include/ngspice/config.h.in config.sub configure install-sh \
20
			missing mkinstalldirs stamp-h.in ltconfig \
21
			ltmain.sh depcomp ylwrap
22 23

ACLOCAL_AMFLAGS = -I m4
24

25 26 27 28 29
if SHARED_MODULE
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ngspice.pc
endif SHARED_MODULE

30
dist-hook:
31 32 33 34
	rm -rf `find $(distdir)/xgraph -name .deps`
	rm -rf `find $(distdir)/xgraph -name config.status`
	rm -rf `find $(distdir)/xgraph -name config.log`
	rm -rf `find $(distdir)/xgraph -name Makefile`
35 36

mrproper: maintainer-clean
37 38 39
	rm -f `find $(top_srcdir) -type f -name "*~" -print`
	rm -f `find $(top_srcdir) -type f -name "*.orig" -print`
	rm -f `find $(top_srcdir) -type f -name "*.rej" -print`