File: Makefile.am

package info (click to toggle)
h5utils 1.9.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 756 kB
  • ctags: 150
  • sloc: ansic: 3,227; sh: 967; makefile: 87; cpp: 61
file content (47 lines) | stat: -rw-r--r-- 1,596 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
COLORMAPS = colormaps/autumn colormaps/bluered colormaps/bone		\
colormaps/colorcube colormaps/cool colormaps/copper colormaps/flag	\
colormaps/gray colormaps/green colormaps/hot colormaps/hsv		\
colormaps/jet colormaps/lines colormaps/pink colormaps/prism		\
colormaps/spring colormaps/summer colormaps/vga colormaps/winter	\
colormaps/yarg colormaps/yellow

EXTRA_MANS = h5topng.1.in h5tov5d.1 h5fromh4.1 h5math.1
EXTRA_DIST = h5read.cc copyright.h $(COLORMAPS) $(EXTRA_MANS)

noinst_PROGRAMS = h5fromitxt # quick hack, not really supported
bin_PROGRAMS = h5totxt h5fromtxt h5tovtk @MORE_H5UTILS@
EXTRA_PROGRAMS = h5topng h5tov5d h5fromh4 h5math

dist_man_MANS = h5totxt.1 h5fromtxt.1 h5tovtk.1 @MORE_H5UTILS_MANS@
nodist_man_MANS = @H5TOPNG_MAN@

COMMON_SRC = arrayh5.c arrayh5.h h5utils.c h5utils.h

h5totxt_SOURCES = h5totxt.c $(COMMON_SRC)
h5fromtxt_SOURCES = h5fromtxt.c $(COMMON_SRC)
h5fromitxt_SOURCES = h5fromitxt.c $(COMMON_SRC)
h5tovtk_SOURCES = h5tovtk.c $(COMMON_SRC)

h5topng_SOURCES = h5topng.c writepng.c writepng.h $(COMMON_SRC)
h5topng_LDADD = @PNG_LIBS@

h5tov5d_SOURCES = h5tov5d.c $(COMMON_SRC)
h5tov5d_CPPFLAGS = $(AM_CPPFLAGS) @V5D_INCLUDES@
h5tov5d_LDADD = @V5D_FILES@

h5fromh4_SOURCES = h5fromh4.c arrayh4.c arrayh4.h $(COMMON_SRC)
h5fromh4_LDADD = @H4_LIBS@

h5math_SOURCES = h5math.c $(COMMON_SRC)
h5math_LDADD = -lmatheval

octdir = @OCT_INSTALL_DIR@
oct_DATA = @H5READ@

h5read.oct: h5read.cc arrayh5.h arrayh5.o
	mkoctfile $(DEFS) $(CPPFLAGS) $(srcdir)/h5read.cc arrayh5.o $(LDFLAGS) $(LIBS)

clean-hook:
	rm -f h5read.oct

nobase_dist_pkgdata_DATA = $(COLORMAPS)