File: Makefile.am

package info (click to toggle)
inhomog 0.1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,476 kB
  • sloc: ansic: 10,454; sh: 4,380; makefile: 173
file content (47 lines) | stat: -rw-r--r-- 1,392 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
bin_PROGRAMS=inhomog
inhomog_SOURCES=inhomog.c xmalloc.c

#  uncomment the following if inhomog requires the math library
#inhomog_LDADD=-lm

inhomog_LDADD=lib/libinhomog.la

#For a static-library binary, uncomment the following:
#inhomog_LDFLAGS=-static

## -Werror  error: complains (fails) on apparently unused variables
if DEV_MODE
  GSL_RECOMMENDED=-pedantic -Werror -ansi -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wnested-externs -fshort-enums -fno-common -Dinline= -g -O3
  GSL_RECOMMENDED += -fdiagnostics-color=always -fsanitize=address
else
  GSL_RECOMMENDED=-O3
endif

ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Wall -Wextra $(OPENMP_CFLAGS) $(GSL_RECOMMENDED)
AM_CPPFLAGS = $(OPENMP_CFLAGS) $(GSL_RECOMMENDED)

EXTRA_DIST=aclocal.m4

SUBDIRS=lib scripts


#  if you write a self-test script named `chk', uncomment the
#  following and add `chk' to the EXTRA_DIST list
#TESTS=chk

#  build and install the .info pages
#info_TEXINFOS = inhomog.texi
#inhomog_TEXINFOS = gpl.texi

#  install the man pages
dist_man_MANS = inhomog.1

## Hack: If help2man is not installed, then the old version in the
## distribution is a safe fallback.
inhomog.1: inhomog.c config.h
	help2man --output=$@ \
	  --name="biscale kinematical backreaction analytical evolution" \
	  --no-info ./inhomog || true

# last line