summaryrefslogtreecommitdiff
path: root/src/examples/eet/Makefile.am
blob: 17756bae59e5e3b83f5a794edccfedcc1992c45e (plain)
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
MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eet \
-I$(top_builddir)/src/lib/eina \
-I$(top_builddir)/src/lib/eet \
@EET_CFLAGS@

EXTRA_PROGRAMS = eet_basic eet_file eet_data_simple eet_data_nested eet_data_file_descriptor_01 eet_data_file_descriptor_02 eet_data_cipher_decipher

eet_basic_SOURCES = eet-basic.c
eet_basic_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LIBS@

eet_file_SOURCES = eet-file.c
eet_file_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LIBS@

eet_data_simple_SOURCES = eet-data-simple.c
eet_data_simple_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LIBS@

eet_data_nested_SOURCES = eet-data-nested.c
eet_data_nested_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LIBS@

eet_data_file_descriptor_01_SOURCES = eet-data-file_descriptor_01.c
eet_data_file_descriptor_01_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LIBS@

eet_data_file_descriptor_02_SOURCES = eet-data-file_descriptor_02.c
eet_data_file_descriptor_02_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LIBS@

eet_data_cipher_decipher_SOURCES = eet-data-cipher_decipher.c
eet_data_cipher_decipher_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LIBS@

SRCS = \
eet-basic.c \
eet-file.c \
eet-data-simple.c \
eet-data-nested.c \
eet-data-file_descriptor_01.c \
eet-data-file_descriptor_02.c \
eet-data-cipher_decipher.c

examples: $(EXTRA_PROGRAMS)

clean-local:
	rm -f $(EXTRA_PROGRAMS)

install-examples:
	mkdir -p $(datadir)/eet/examples
	$(install_sh_DATA) -c $(SRCS) $(datadir)/eet/examples

uninstall-local:
	for f in $(SRCS) ; do \
	  rm -f $(datadir)/eet/examples/$$f ; \
	done