003b5efc593f3582896debf2b8034006d9154018
[Evergreen.git] / Open-ILS / src / c-apps / Makefile.am
1 #-----------------------------------------------------------
2 # Makefile.am for Open-ILS/src/c-apps
3 # Author: Kevin Beswick (kevinbeswick00@gmail.com)
4 # Process this file with automake to generate Makefile.in
5 #-----------------------------------------------------------
6
7 AM_CFLAGS = $(DEF_CFLAGS) -DOSRF_LOG_PARAMS -I@top_srcdir@/include/
8 AM_LDFLAGS = $(DEF_LDFLAGS) -L$(DBI_LIBS) -lopensrf
9
10 bin_PROGRAMS = oils_dataloader dump_idl idlval test_json_query test_qstore
11 oils_dataloader_SOURCES = oils_dataloader.c
12 oils_dataloader_LDFLAGS = $(AM_LDFLAGS) -loils_idl
13 oils_dataloader_DEPENDENCIES = liboils_idl.la liboils_utils.la
14
15 dump_idl_SOURCES = dump_idl.c
16 dump_idl_LDFLAGS = $(AM_LDFLAGS) -loils_idl
17 dump_idl_DEPENDENCIES = liboils_idl.la liboils_utils.la
18
19 idlval_SOURCES = idlval.c oils_sql.c
20 idlval_CFLAGS = $(AM_CFLAGS)
21 idlval_LDFLAGS = $(AM_LDFLAGS) -loils_idl -loils_utils
22 idlval_DEPENDENCIES = liboils_idl.la liboils_utils.la
23
24 test_json_query_SOURCES = test_json_query.c oils_sql.c
25 test_json_query_CFLAGS = $(AM_CFLAGS)
26 test_json_query_LDFLAGS = $(AM_LDFLAGS) -loils_idl -loils_utils
27 test_json_query_DEPENDENCIES = liboils_idl.la liboils_utils.la
28
29 test_qstore_SOURCES = test_qstore.c buildSQL.c oils_buildq.c oils_execsql.c oils_sql.c oils_storedq.c 
30 test_qstore_CFLAGS = $(AM_CFLAGS)
31 test_qstore_LDFLAGS = $(AM_LDFLAGS) -loils_idl -loils_utils
32 test_qstore_DEPENDENCIES = liboils_idl.la liboils_utils.la
33
34 lib_LTLIBRARIES = liboils_idl.la liboils_utils.la oils_cstore.la oils_qstore.la oils_rstore.la oils_pcrud.la oils_auth.la
35
36 liboils_idl_la_SOURCES = oils_idl-core.c
37 liboils_idl_la_LDFLAGS = -version-info 2:0:0
38
39 liboils_utils_la_SOURCES = oils_utils.c oils_event.c
40 liboils_utils_la_LDFLAGS = -loils_idl -version-info 2:0:0
41
42 oils_cstore_la_SOURCES = oils_cstore.c oils_sql.c
43 oils_cstore_la_LDFLAGS = $(AM_LDFLAGS) -ldbi -ldbdpgsql -loils_utils -module -version-info 2:0:0
44 oils_cstore_la_DEPENDENCIES = liboils_utils.la
45
46 oils_qstore_la_SOURCES = oils_qstore.c oils_sql.c oils_storedq.c oils_buildq.c buildSQL.c oils_execsql.c
47 oils_qstore_la_LDFLAGS = $(AM_LDFLAGS) -ldbi -ldbdpgsql -loils_utils -module -version-info 2:0:0
48 oils_qstore_la_DEPENDENCIES = liboils_utils.la
49
50 oils_rstore_la_SOURCES = oils_rstore.c oils_sql.c
51 oils_rstore_la_LDFLAGS = $(AM_LDFLAGS) -ldbi -ldbdpgsql -loils_utils -module -version-info 2:0:0
52 oils_rstore_la_DEPENDENCIES = liboils_utils.la
53
54 oils_pcrud_la_SOURCES = oils_pcrud.c oils_sql.c
55 oils_pcrud_la_LDFLAGS = $(AM_LDFLAGS) -ldbi -ldbdpgsql -loils_utils -module -version-info 2:0:0
56 oils_pcrud_la_DEPENDENCIES = liboils_utils.la
57
58 oils_auth_la_SOURCES = oils_auth.c
59 oils_auth_la_LDFLAGS = -module -loils_utils -version-info 2:0:0
60 oils_auth_la_DEPENDENCIES = liboils_utils.la
61
62