2002-05-25 07:30:55 +00:00
|
|
|
DEPTH = ..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2002-04-30 22:22:54 +00:00
|
|
|
VERSION = 1
|
|
|
|
|
|
|
|
MYSQL_DIR = /usr/local/mysql/include
|
|
|
|
|
|
|
|
CFLAGS = -g -Wall @DEFS@ \
|
|
|
|
-DHOSTTYPE=\"@host@\" \
|
|
|
|
-DVERSION=$(VERSION) \
|
|
|
|
-I $(MYSQL_DIR) \
|
|
|
|
-pedantic
|
|
|
|
|
|
|
|
CC = @CC@ $(CFLAGS)
|
|
|
|
|
|
|
|
LIBS = ../api/api.o
|
|
|
|
|
|
|
|
CLIBS = @LIBS@
|
|
|
|
|
|
|
|
.C.o:
|
|
|
|
$(CC) -c -o $*.o $<
|
|
|
|
|
|
|
|
all: db_mysql.o mysql_util.o
|
|
|
|
|
|
|
|
clean:
|
2002-05-29 23:25:21 +00:00
|
|
|
rm -f dependencies *.o Makefile
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2002-05-25 07:30:55 +00:00
|
|
|
dependencies: @srcdir@/*.C
|
2002-05-25 07:34:27 +00:00
|
|
|
$(CC) -M @srcdir@/*.C > dependencies
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
include dependencies
|
|
|
|
|