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
|
INCLUDES = $(ORB_INCLUDE_PREFIX) \
-I$(top_srcdir)/lib/cpp/log4tango/include \
-I$(top_builddir)/lib/cpp/log4tango/include \
-I$(top_srcdir)/lib/cpp/client \
-I$(top_srcdir)/lib/cpp/server \
$(MYSQLCLIENT_CFLAGS) \
$(ZLIB_CPPFLAGS)
LDADD = -L$(top_builddir)/lib/cpp/server -ltango -L$(top_builddir)/lib/cpp/log4tango/src \
-llog4tango $(MYSQLCLIENT_LDFLAGS) \
$(MYSQLCLIENT_LIBS) $(ZLIB_LDFLAGS) $(ZLIB_LIBS)
bin_PROGRAMS=DataBaseds
DataBaseds_SOURCES=ClassFactory.cpp \
DataBaseClass.cpp \
DataBase.cpp \
DataBaseStateMachine.cpp \
main.cpp \
update_starter.cpp \
DataBaseUtils.cpp \
DataBase.h \
DataBaseClass.h \
update_starter.h
if TANGO_DB_CREATE_ENABLED
dbdir=${pkgdatadir}/db
db_DATA=create_db.sh create_db.sql my.cnf create_db_tables.sql stored_proc.sql update_db.sh update_db5.sql update_db6.sql
## This is to make sure that the create-db script is run on each make all.
## See create_db.sh for more information.
all-local: .force
$(SHELL) ${top_builddir}/cppserver/database/create_db.sh < ${top_builddir}/cppserver/database/create_db.sql
endif
EXTRA_DIST = create_db.sh.in create_db.sql.in my.cnf.in create_db_tables.sql.in stored_proc.sql.in \
update_db.sh.in update_db5.sql.in update_db6.sql.in
.force:
|