File: Makefile.am

package info (click to toggle)
h5utils 1.10-7
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 756 kB
  • ctags: 152
  • sloc: ansic: 3,341; sh: 863; makefile: 90; cpp: 61
file content (53 lines) | stat: -rw-r--r-- 1,777 bytes parent folder | download | duplicates (2)
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
48
49
50
51
52
53
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 colormaps/dkbluered

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 h4fromh5 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@

h4fromh5_SOURCES = h4fromh5.c arrayh4.c arrayh4.h $(COMMON_SRC)
h4fromh5_LDADD = @H4_LIBS@

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

octdir = @OCT_INSTALL_DIR@
oct_DATA = @H5READ@

%.pic.o: %.c
	$(CC) $(CFLAGS) -fPIC -c -o $@ $<

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

clean-hook:
	rm -f h5read.oct

nobase_dist_pkgdata_DATA = $(COLORMAPS)