Mercurial > audlegacy
annotate src/tests/Makefile @ 4887:0ddbd0025174 default tip
added libaudtag. (not used yet.)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 05 May 2010 18:26:06 +0900 |
parents | f997d405fa02 |
children |
rev | line source |
---|---|
3285
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
1 include ../../mk/rules.mk |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
2 include ../../mk/init.mk |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
3 include ../../mk/objective.mk |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
4 |
3291
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
5 OBJECTIVE_LIBS_NOINST = tuple_formatter_test \ |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
6 tuple_formatter_functor_test |
3285
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
7 |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
8 LDFLAGS += $(AUDLDFLAGS) |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
9 LDADD = \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
10 $(DBUS_LIBS) \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
11 $(GTK_LIBS) \ |
3994 | 12 $(MOWGLI_LIBS) |
3285
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
13 |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
14 CFLAGS += \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
15 $(GTK_CFLAGS) \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
16 $(DBUS_CFLAGS) \ |
4477
f997d405fa02
s/BEEP_DEFINES/AUDACIOUS_DEFINES/
Matti Hamalainen <ccr@tnsp.org>
parents:
3994
diff
changeset
|
17 $(AUDACIOUS_DEFINES) \ |
3285
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
18 $(ARCH_DEFINES) \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
19 $(MOWGLI_CFLAGS) \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
20 -I.. -I../.. \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
21 -I../intl -I../audacious |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
22 |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
23 COMMON_OBJS = test_harness.o |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
24 TFT_OBJS = $(COMMON_OBJS) tuple_formatter_test.o ../audacious/tuple.o ../audacious/tuple_formatter.o |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
25 tuple_formatter_test: $(TFT_OBJS) |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
26 $(CC) $(LDFLAGS) $(TFT_OBJS) $(LDADD) -o $@ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
27 @printf "%10s %-20s\n" LINK $@ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
28 ./$@ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
29 @printf "%10s %-20s\n" TEST-PASS $@ |
3291
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
30 |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
31 TFFT_OBJS = $(COMMON_OBJS) tuple_formatter_functor_test.o ../audacious/tuple.o ../audacious/tuple_formatter.o |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
32 tuple_formatter_functor_test: $(TFFT_OBJS) |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
33 $(CC) $(LDFLAGS) $(TFFT_OBJS) $(LDADD) -o $@ |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
34 @printf "%10s %-20s\n" LINK $@ |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
35 ./$@ |
02335e399a16
Test functor extension code from outside scope.
William Pitcock <nenolod@atheme-project.org>
parents:
3285
diff
changeset
|
36 @printf "%10s %-20s\n" TEST-PASS $@ |