author | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-12-04 14:55:00 (GMT) |
---|---|---|
committer | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-12-04 14:55:00 (GMT) |
commit | acfcbc435d34cf64be52ed6355f8adfb35b79a7c (patch) (unidiff) | |
tree | 15d0a13f0ec6798bb69ab3ec2602cea8a79258ce | |
parent | d03dc9b0bd2773aa1607c1ee5ef62183fb26b950 (diff) | |
download | exp005-acfcbc435d34cf64be52ed6355f8adfb35b79a7c.zip exp005-acfcbc435d34cf64be52ed6355f8adfb35b79a7c.tar.gz exp005-acfcbc435d34cf64be52ed6355f8adfb35b79a7c.tar.bz2 |
Refactored code into a separate libflumap library so that it can be
shared between the command line binary and the web browser plugin.
-rw-r--r-- | src/Makefile.am | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 82ddc3b..cf16798 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -1,14 +1,19 @@ | |||
1 | # Driver | ||
2 | |||
1 | bin_PROGRAMS = flumap | 3 | bin_PROGRAMS = flumap |
4 | flumap_SOURCES = flumap.c | ||
5 | flumap_LDADD = ${GLUT_LIBS} libflumap.la | ||
2 | 6 | ||
3 | lib_LTLIBRARIES = libflumapplugin.la | 7 | # Web Browser Plugin |
4 | 8 | ||
9 | lib_LTLIBRARIES = libflumapplugin.la libflumap.la | ||
5 | libflumapplugin_la_CFLAGS = -I/usr/include/xulrunner-1.9/unstable | 10 | libflumapplugin_la_CFLAGS = -I/usr/include/xulrunner-1.9/unstable |
11 | libflumapplugin_la_SOURCES = plugin/plugin.c | ||
12 | libflumapplugin_la_LIBADD = ${GLUT_LIBS} libflumap.la | ||
6 | 13 | ||
7 | libflumapplugin_la_SOURCES = \ | 14 | # Engine |
8 | plugin/plugin.c \ | ||
9 | plugin/plugin.h | ||
10 | 15 | ||
11 | flumap_SOURCES = \ | 16 | libflumap_la_SOURCES = \ |
12 | controller/actions/clear_selection.c \ | 17 | controller/actions/clear_selection.c \ |
13 | controller/actions/pan.c \ | 18 | controller/actions/pan.c \ |
14 | controller/actions/process_hits.c \ | 19 | controller/actions/process_hits.c \ |
@@ -23,7 +28,6 @@ flumap_SOURCES = \ | |||
23 | controller/callbacks/mouse_wheel.c \ | 28 | controller/callbacks/mouse_wheel.c \ |
24 | controller/callbacks/reshape.c \ | 29 | controller/callbacks/reshape.c \ |
25 | db/dbconnect.c \ | 30 | db/dbconnect.c \ |
26 | flumap.c \ | ||
27 | model/data/base.c \ | 31 | model/data/base.c \ |
28 | model/geometry/datarose_geometry.c \ | 32 | model/geometry/datarose_geometry.c \ |
29 | model/geometry/density_legend_geometry.c \ | 33 | model/geometry/density_legend_geometry.c \ |
@@ -41,8 +45,6 @@ flumap_SOURCES = \ | |||
41 | view/init.c \ | 45 | view/init.c \ |
42 | view/view.c | 46 | view/view.c |
43 | 47 | ||
44 | flumap_LDADD = ${GLUT_LIBS} | ||
45 | |||
46 | noinst_HEADERS = \ | 48 | noinst_HEADERS = \ |
47 | controller/actions/clear_selection.h \ | 49 | controller/actions/clear_selection.h \ |
48 | controller/actions/pan.h \ | 50 | controller/actions/pan.h \ |
@@ -73,6 +75,7 @@ noinst_HEADERS = \ | |||
73 | model/state/state.h \ | 75 | model/state/state.h \ |
74 | model/state/zoom_info.h \ | 76 | model/state/zoom_info.h \ |
75 | model/state/zoom_info_init.h \ | 77 | model/state/zoom_info_init.h \ |
78 | plugin/plugin.h \ | ||
76 | util/ati_meminfo.h \ | 79 | util/ati_meminfo.h \ |
77 | util/check_error.h \ | 80 | util/check_error.h \ |
78 | util/pick_convert.h \ | 81 | util/pick_convert.h \ |
@@ -89,7 +92,7 @@ noinst_HEADERS = \ | |||
89 | # util/amd_performance_monitor/ati_counter_info.h | 92 | # util/amd_performance_monitor/ati_counter_info.h |
90 | #util/amd_performance_monitor/ati_get_group_and_counter_list.h | 93 | #util/amd_performance_monitor/ati_get_group_and_counter_list.h |
91 | 94 | ||
92 | AM_CFLAGS = -Wall -ggdb -std=gnu99 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/ncbi | 95 | AM_CFLAGS = -Wall -ggdb -std=gnu99 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE |
93 | 96 | ||
94 | # DB2 Precompiler for Embedded SQL | 97 | # DB2 Precompiler for Embedded SQL |
95 | %.c : %.sqc | 98 | %.c : %.sqc |