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
|
2002-10-04 20:26:23 +00:00
|
|
|
MYSQL_DIR2 = /usr/local/mysql/include/mysql
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
CFLAGS = -g -Wall @DEFS@ \
|
|
|
|
-DHOSTTYPE=\"@host@\" \
|
|
|
|
-DVERSION=$(VERSION) \
|
|
|
|
-I $(MYSQL_DIR) \
|
2002-10-04 20:26:23 +00:00
|
|
|
-I $(MYSQL_DIR2) \
|
2002-04-30 22:22:54 +00:00
|
|
|
-pedantic
|
|
|
|
|
|
|
|
CC = @CC@ $(CFLAGS)
|
|
|
|
|
|
|
|
LIBS = ../api/api.o
|
|
|
|
|
|
|
|
CLIBS = @LIBS@
|
|
|
|
|
|
|
|
.C.o:
|
|
|
|
$(CC) -c -o $*.o $<
|
|
|
|
|
2003-06-04 17:21:26 +00:00
|
|
|
all: boinc_db.o
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
clean:
|
2002-11-06 23:38:52 +00:00
|
|
|
rm -f dependencies *.o
|
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
|
|
|
|
|