-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathMakefile.am
50 lines (40 loc) · 1.42 KB
/
Makefile.am
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
44
45
46
47
48
49
TESTS=test/02_load_data.sh test/03_test.sh
ACLOCAL_AMFLAGS=-I config
lib_LTLIBRARIES = lib_mysqludf_ta.la
lib_mysqludf_ta_la_SOURCES = src/ta_libmysqludf_ta.h \
src/ta_ema.c \
src/ta_max.c \
src/ta_min.c \
src/ta_previous.c \
src/ta_rsi.c \
src/ta_rsi_win.c \
src/ta_sma.c \
src/ta_sma_win.c \
src/ta_ssma.c \
src/ta_atr_win.c \
src/ta_stddevp.c \
src/ta_sum.c \
src/ta_tr.c \
src/ta_tr_win.c
lib_mysqludf_ta_la_CFLAGS = -Wall -c @MYSQL_CFLAGS@
lib_mysqludf_ta_la_LDFLAGS = -shared
dist_pkgdata_DATA=setup/*
EXTRA_DIST = *.h test *.sql API
.PHONY : test
mrproper:
make clean
make test-clean
make maintainer-clean
rm -rf config.guess config.h.* config.status configure missing config.sub ltmain.sh depcomp aclocal.m4 install.sh config.log compile Makefile.in doc/html *.loT mkinstalldirs install-sh *~
installdb:
cat setup/*_up* | $(MYSQL)
uninstalldb:
cat setup/*_down* | $(MYSQL)
dist-hook:
find $(distdir) -name .svn -o -name .DS_Store -o -name .cdtproject -o -name .project -o -name .settings -o *~ | xargs --no-run-if-empty rm -rf
test:
for i in `ls test/*.result | awk -F "." '{print $$1}'`; do echo "$$i"; $(MYSQLTEST) --result-file=$$i.result < $$i.test; done
test-results:
for i in `ls test/*.test | awk -F "." '{print $$1}'`; do echo "$$i"; $(MYSQLTEST) --result-file=$$i.result --record < $$i.test; done
test-clean:
rm -f test/*.log test/*.reject