boinc/db/Makefile.in

37 lines
572 B
Makefile

DEPTH = ..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
VERSION = 1
MYSQL_DIR = /usr/local/mysql/include
MYSQL_DIR2 = /usr/local/mysql/include/mysql
CFLAGS = -g -Wall @DEFS@ \
-DHOSTTYPE=\"@host@\" \
-DVERSION=$(VERSION) \
-I $(MYSQL_DIR) \
-I $(MYSQL_DIR2) \
-pedantic
CC = @CC@ $(CFLAGS)
LIBS = ../api/api.o
CLIBS = @LIBS@
.C.o:
$(CC) -c -o $*.o $<
all: db_mysql.o mysql_util.o
clean:
rm -f dependencies *.o
dependencies: @srcdir@/*.C
$(CC) -M @srcdir@/*.C > dependencies
include dependencies