From 71e4f71cba6379ad026548227b5d7deeaf98b068 Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Sat, 13 Jun 2009 21:49:18 +0000 Subject: Added use of database. --- diff --git a/src/Makefile.am b/src/Makefile.am index bd0d702..42cd2e6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,28 +1,49 @@ bin_PROGRAMS = exp004viz exp004viz_SOURCES = \ + controller/clear_selection.c \ controller/exp004display.c \ controller/exp004mouse.c \ controller/exp004processhits.c \ controller/exp004reshape.c \ + controller/keyboard.c \ + controller/selection_from_db.c \ + controller/selection_to_db.c \ exp004viz.c \ model/exp004base.c \ util/check_error.c \ + util/pick_convert.c \ view/exp004geometry.c \ view/exp004view.c exp004viz_LDADD = ${GLUT_LIBS} noinst_HEADERS = \ + controller/clear_selection.h \ controller/exp004display.h \ controller/exp004mouse.h \ controller/exp004processhits.h \ controller/exp004reshape.h \ + controller/keyboard.h \ + controller/selection_from_db.h \ + controller/selection_to_db.h \ model/exp004base.h \ model/exp004state.h \ util/check_error.h \ + util/pick_convert.h \ view/exp004geometry.h \ view/exp004state0.h \ view/exp004view.h AM_CFLAGS = -Wall -std=gnu99 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/ncbi + +# DB2 Precompiler for Embedded SQL +%.c : %.sqc + db2 CONNECT TO exp004; + db2 PRECOMPILE $<; + +CLEANFILES = \ + clear_selection.c \ + exp004base.c \ + selection_from_db.c \ + selection_to_db.c -- cgit v0.8.3.1-22-g547a