File: Makefile

package info (click to toggle)
mysql-workbench 6.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 113,932 kB
  • ctags: 87,814
  • sloc: ansic: 955,521; cpp: 427,465; python: 59,728; yacc: 59,129; xml: 54,204; sql: 7,091; objc: 965; makefile: 638; sh: 613; java: 237; perl: 30; ruby: 6; php: 1
file content (34 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download | duplicates (3)
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
TEST_TIMEOUT=60
top_srcdir=../../../

#COV_CFLAGS=-fprofile-arcs -ftest-coverage

CXXFLAGS=-Wall -Wno-deprecated -Wno-unknown-pragmas -ggdb3 -fpermissive $(COV_CFLAGS)
INCLUDES=-Iinclude `mysql_config --cflags` \
	-I$(top_srcdir)/\
	-I$(top_srcdir)/testing/tut/include\
	-I$(top_srcdir)/modules/interfaces\
	-I$(top_srcdir)/modules\
	-I$(top_srcdir)/modules/wb.model/src\
	-I$(top_srcdir)/generated/\
	-I$(top_srcdir)/library/base/\
	-DENABLE_LUA_MODULES -DEXCLUDE_MYSQL_SUPPORT \
	 `pkg-config glib-2.0 libxml-2.0 sigc++-2.0 cairo --cflags` `pcre-config --cflags` \
	-DIMAGE_TESTS ${FLAGS}
#	 `pkg-config glib-2.0 libxml-2.0 sigc++-2.0 cairo glitz-glx --cflags` `pcre-config --cflags` 


%.o: %.cpp
	g++ $< -c $(INCLUDES) $(CXXFLAGS) -DTEST_STANDALONE

%.o: $(top_srcdir)/testing/tut/source/%.cpp
	g++ $< -c $(INCLUDES) $(CXXFLAGS) -DTEST_STANDALONE

TUT_FILES=test_helpers.o  main.o 

base_test: base_test.o $(TUT_FILES)
	g++ $< $(TUT_FILES) ../.libs/libwbbase.so -o$@ `pkg-config sigc++-2.0 --libs`


clean:
	rm *.o