Mercurial > audlegacy
annotate src/tests/Makefile @ 4350:8071e599916d
renamed BmpCmdLineOpt to AudCmdLineOpt (greatest commit EVAR! ;-)
author | mf0102 <0102@gmx.at> |
---|---|
date | Sun, 16 Mar 2008 19:02:57 +0100 |
parents | 78a6f3ba9f34 |
children | f997d405fa02 |
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) \ |
740c6f845554
revise tuple formatting engine logic
William Pitcock <nenolod@atheme-project.org>
parents:
diff
changeset
|
17 $(BEEP_DEFINES) \ |
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 $@ |