File: Makefile.am

package info (click to toggle)
libhdf4 4.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,384 kB
  • sloc: ansic: 128,700; sh: 15,015; fortran: 12,444; java: 5,863; xml: 1,205; makefile: 794; yacc: 678; pascal: 418; perl: 360; javascript: 203; lex: 163; csh: 41
file content (55 lines) | stat: -rw-r--r-- 2,699 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
54
55
#############################################################################
##                      Setup for building programs                        ##
#############################################################################

include $(top_srcdir)/config/commence.am

DEFINES=-DNDEBUG -DHDF

#############################################################################
##                          Programs to build                              ##
#############################################################################

TEST_PROG = h4ex_SD_create_sds h4ex_SD_write_to_sds h4ex_SD_write_slab             \
	h4ex_SD_alter_sds_values h4ex_SD_unlimited_sds h4ex_SD_compress_sds        \
	h4ex_SD_mv_sds_to_external h4ex_SD_read_from_sds h4ex_SD_read_subsets      \
	h4ex_SD_get_info h4ex_SD_find_sds_by_name h4ex_SD_set_get_dim_info         \
	h4ex_SD_dimscale_vs_sds h4ex_SD_set_attr h4ex_SD_get_attr h4ex_SD_chunking_example

INSTALL_FILES = h4ex_SD_create_sds.c h4ex_SD_write_to_sds.c h4ex_SD_write_slab.c        \
	h4ex_SD_alter_sds_values.c h4ex_SD_unlimited_sds.c h4ex_SD_compress_sds.c       \
	h4ex_SD_mv_sds_to_external.c h4ex_SD_read_from_sds.c h4ex_SD_read_subsets.c     \
	h4ex_SD_get_info.c h4ex_SD_find_sds_by_name.c h4ex_SD_set_get_dim_info.c        \
	h4ex_SD_dimscale_vs_sds.c h4ex_SD_set_attr.c h4ex_SD_get_attr.c h4ex_SD_chunking_example.c

EXAMPLEDIR=$(prefix)/examples/c

# How to build programs using h4cc
$(EXTRA_PROG): $(H4CC)
	$(H4CC) $(H4CCFLAGS) $(CFLAGS) -o $@ $(srcdir)/$@.c;

# List dependencies for each program.  Normally, automake would take
# care of this for us, but if we tell automake about the programs it
# will try to build them with the normal C++ compiler, not h4cc.  This is
# an inelegant way of solving the problem, unfortunately.
create_sds: $(srcdir)/h4ex_SD_create_sds.c
write_to_sds: $(srcdir)/h4ex_SD_write_to_sds.c
write_slab: $(srcdir)/h4ex_SD_write_slab.c
alter_sds_values: $(srcdir)/h4ex_SD_alter_sds_values.c
unlimited_sds: $(srcdir)/h4ex_SD_unlimited_sds.c
compress_sds: $(srcdir)/h4ex_SD_compress_sds.c
mv_sds_to_external: $(srcdir)/h4ex_SD_mv_sds_to_external.c
read_from_sds: $(srcdir)/h4ex_SD_read_from_sds.c
read_subsets: $(srcdir)/h4ex_SD_read_subsets.c
get_info: $(srcdir)/h4ex_SD_get_info.c
find_sds_by_name: $(srcdir)/h4ex_SD_find_sds_by_name.c
set_get_dim_info: $(srcdir)/h4ex_SD_set_get_dim_info.c
dimscale_vs_sds: $(srcdir)/h4ex_SD_dimscale_vs_sds.c
set_attr: $(srcdir)/h4ex_SD_set_attr.c
get_attr: $(srcdir)/h4ex_SD_get_attr.c
chunking_example: $(srcdir)/h4ex_SD_chunking_example.c

include $(top_srcdir)/config/examples.am
include $(top_srcdir)/config/conclude.am

DISTCLEANFILES = *.chklog *.chkexe ExternalSDS .deps