11f4197c6edec3972686c3ff142c97e3d11d8a26
[working/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 test_json_query
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 test_json_query_SOURCES = test_json_query.c
20 test_json_query_LDFLAGS = $(AM_LDFLAGS) -loils_idl
21 test_json_query_LDADD = oils_cstore.la
22 test_json_query_DEPENDENCIES = liboils_idl.la liboils_utils.la
23
24 lib_LTLIBRARIES = liboils_idl.la liboils_utils.la oils_cstore.la oils_rstore.la oils_pcrud.la oils_auth.la
25
26 liboils_idl_la_SOURCES = oils_idl-core.c
27
28 liboils_utils_la_SOURCES = oils_utils.c oils_event.c
29
30 oils_cstore_la_SOURCES = oils_cstore.c
31 oils_cstore_la_LDFLAGS = $(AM_LDFLAGS) -loils_idl -ldbi -ldbdpgsql -loils_utils -module
32 oils_cstore_la_DEPENDENCIES = liboils_idl.la liboils_idl.la
33
34 oils_rstore_la_SOURCES = oils_cstore.c
35 oils_rstore_la_CFLAGS = $(AM_CFLAGS) -DRSTORE -c
36 oils_rstore_la_LDFLAGS = $(AM_LDFLAGS) -loils_idl -ldbi -ldbdpgsql -loils_utils -module
37 oils_rstore_la_DEPENDENCIES = liboils_idl.la liboils_idl.la
38
39 oils_pcrud_la_SOURCES = oils_cstore.c
40 oils_pcrud_la_CFLAGS = $(AM_CFLAGS) -DPCRUD -c
41 oils_pcrud_la_LDFLAGS = $(AM_LDFLAGS) -loils_idl -ldbi -ldbdpgsql -loils_utils -module
42 oils_pcrud_la_DEPENDENCIES = liboils_utils.la liboils_idl.la
43
44 oils_auth_la_SOURCES = oils_auth.c
45 oils_auth_la_LDFLAGS = -module -loils_idl -loils_utils
46 oils_auth_la_DEPENDENCIES = liboils_utils.la liboils_idl.la
47
48