File: Makefile.am

package info (click to toggle)
gerris 20131206%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,728 kB
  • ctags: 6,777
  • sloc: ansic: 66,593; sh: 15,930; f90: 1,513; makefile: 1,180; fortran: 696; python: 484; awk: 104; lisp: 89; xml: 27
file content (32 lines) | stat: -rw-r--r-- 1,155 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## Process this file with automake to produce Makefile.in

SUBDIRS = tutorial examples manpages

EXTRA_DIST = figures share doxy.conf gerris.bib

noinst_PROGRAMS = autoclass

INCLUDES = -I$(top_srcdir)/src -I$(includedir) -DG_LOG_DOMAIN=\"Gfs-tools\"\
            $(GTS_CFLAGS)

autoclass_SOURCES = autoclass.c $(top_srcdir)/src/init.c
autoclass_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1
autoclass_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src
autoclass_LDADD = $(GFS2D_LIBS)

reference: Makefile.am autoclass share/autoclass.sh share/doxfilter share/renamemodules doxy.conf
	sh share/autoclass.sh | sort -k2,3 | ./autoclass > hierarchy.c
	@chmod +x share/doxfilter
	doxygen doxy.conf 2>&1 | grep -v 'explicit link request to .* could not be resolved' > doxy.log
	cd reference && sh ../share/renamemodules
	if grep [wW]arning doxy.log; then exit 1; fi

publish: reference
	tar czf reference.tgz reference
	mv -f reference.tgz $(WEBROOT)
	cd $(WEBROOT) && tar xzf reference.tgz && rm -f reference.tgz

Makefile.deps: Makefile.am ../src/Makefile.am
	ls ../src/*.[ch] | awk 'BEGIN{print "reference: \\"}{ print "\t" $$1 " \\"}' > Makefile.deps

-include Makefile.deps