2003-06-06 19:00:42 +00:00
|
|
|
## -*-Makefile -*-
|
|
|
|
## $Id$
|
|
|
|
|
|
|
|
MYSQL_INCLUDES = /usr/local/mysql/include
|
|
|
|
MYSQL_INCLUDES2 = /usr/local/mysql/include/mysql
|
|
|
|
MYSQL_INCLUDES3 = /usr/include/mysql
|
|
|
|
|
|
|
|
MYSQL_LIBS = \
|
|
|
|
-L/usr/local/mysql/lib -L/sw/lib/mysql -L/usr/local/lib/mysql \
|
|
|
|
-lmysqlclient -L/usr/local/lib -lz \
|
|
|
|
-lm $(NETLIBS)
|
|
|
|
|
|
|
|
RSA_LIBS = \
|
2003-06-08 10:46:19 +00:00
|
|
|
-L$(top_builddir)/RSAEuro/source \
|
2003-06-06 19:00:42 +00:00
|
|
|
-lrsaeuro
|
|
|
|
|
2003-06-11 22:42:42 +00:00
|
|
|
AM_CFLAGS = -g -Wall
|
|
|
|
AM_CXXFLAGS = -g -Wall
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2003-06-06 19:00:42 +00:00
|
|
|
-DHOSTTYPE=\"@host@\" \
|
|
|
|
-I$(top_srcdir)/lib \
|
|
|
|
-I$(top_srcdir)/api \
|
|
|
|
-I$(top_srcdir)/db \
|
|
|
|
-I$(top_srcdir)/RSAEuro/source \
|
|
|
|
-I$(top_srcdir)/client \
|
|
|
|
-I$(top_srcdir)/tools \
|
|
|
|
-I$(MYSQL_INCLUDES) \
|
|
|
|
-I$(MYSQL_INCLUDES2) \
|
|
|
|
-I$(MYSQL_INCLUDES3) \
|
|
|
|
-include $(top_srcdir)/config.h
|
|
|
|
|
|
|
|
# this is useful as a dependency to make sure librsaeuro gets compiled before
|
|
|
|
# programs linking to it:
|
2003-06-08 10:46:19 +00:00
|
|
|
LIBRSA = $(top_builddir)/RSAEuro/source/librsaeuro.a
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-06-08 00:49:48 +00:00
|
|
|
$(LIBRSA):
|
2003-06-08 10:46:19 +00:00
|
|
|
cd $(top_builddir)/RSAEuro/source; ${MAKE} librsaeuro.a
|