VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/Makefile.tests@ 96445

Last change on this file since 96445 was 95312, checked in by vboxsync, 2 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

File size: 913 bytes
Line 
1#
2# You may have to adjust to call the right compiler, or other options
3# for compiling and linking
4#
5
6CFLAGS=`xml2-config --cflags`
7LIBS=`xml2-config --libs`
8THREADLIB= -lpthread
9EXEEXT=
10
11all: runtest$(EXEEXT) runsuite$(EXEEXT) testapi$(EXEEXT) testchar$(EXEEXT)
12
13clean:
14 $(RM) runtest$(EXEEXT) runsuite$(EXEEXT) testapi$(EXEEXT)
15
16check: do_runtest do_testchar do_testapi do_runsuite
17
18runtest$(EXEEXT): runtest.c
19 $(CC) -o runtest$(EXEEXT) $(CFLAGS) runtest.c $(LIBS) $(THREADLIB)
20
21do_runtest: runtest$(EXEEXT)
22 ./runtest
23
24runsuite$(EXEEXT): runsuite.c
25 $(CC) -o runsuite$(EXEEXT) $(CFLAGS) runsuite.c $(LIBS)
26
27do_runsuite: runsuite$(EXEEXT)
28 ./runsuite
29
30testapi$(EXEEXT): testapi.c
31 $(CC) -o testapi$(EXEEXT) $(CFLAGS) testapi.c $(LIBS)
32
33do_testapi: testapi$(EXEEXT)
34 ./testapi
35
36testchar$(EXEEXT): testchar.c
37 $(CC) -o testchar$(EXEEXT) $(CFLAGS) testchar.c $(LIBS)
38
39do_testchar: testchar$(EXEEXT)
40 ./testchar
41
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette