File: Makefile.am

package info (click to toggle)
opari 1.1+dfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 720 kB
  • sloc: cpp: 2,005; ansic: 901; f90: 252; makefile: 130; sh: 86; fortran: 50
file content (46 lines) | stat: -rw-r--r-- 1,062 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
AM_CFLAGS = -fopenmp
AM_FFLAGS = -fopenmp -fcray-pointer
AM_FCFLAGS = -fopenmp -fcray-pointer

noinst_PROGRAMS = lib/getfname
bin_PROGRAMS = tool/opari
lib_LTLIBRARIES = lib/libpomp.la
include_HEADERS = lib/pomp_lib.h lib/opari_omp.h

tool_opari_SOURCES = \
	tool/handler.cc \
	tool/handler.h \
	tool/ompragma.cc \
	tool/ompragma_c.cc \
	tool/ompragma_f.cc \
	tool/ompragma.h \
	tool/ompregion.h \
	tool/opari.cc \
	tool/opari.h \
	tool/process_c.cc \
	tool/process_f.cc \
	tool/process_omp.cc

lib_libpomp_la_SOURCES = \
	lib/pomp_lib.c \
	lib/pomp_lib.h \
	lib/pomp_flib.f90 \
	lib/pomp_fwrapper.c

lib_getfname_SOURCES = \
	lib/foos.c \
	lib/getfname.f


pomp_fwrapper.lo: lib/pomp_fwrapper.c lib/pomp_fwrapper_def.h
	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $@ $<

lib/pomp_fwrapper_def.h: lib/getfname
	$< > $@

check-local:
	$(MAKE) -C tool/Test test

clean-local:
	$(MAKE) -C tool/Test clean
	rm -f lib/pomp_fwrapper_def.h