~ubuntu-branches/ubuntu/wily/opencollada/wily-proposed

« back to all changes in this revision

Viewing changes to Externals/LibXML/Makefile.tests

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# You may have to ajust to call the right compiler, or other oprions
 
3
# for compiling and linking
 
4
#
 
5
 
 
6
CFLAGS=`xml2-config --cflags`
 
7
LIBS=`xml2-config --libs`
 
8
THREADLIB= -lpthread
 
9
EXEEXT=
 
10
 
 
11
all: runtest$(EXEEXT) runsuite$(EXEEXT) testapi$(EXEEXT)
 
12
 
 
13
clean:
 
14
        $(RM) runtest$(EXEEXT) runsuite$(EXEEXT) testapi$(EXEEXT)
 
15
 
 
16
check: do_runtest do_runsuite do_testapi
 
17
 
 
18
runtest$(EXEEXT): runtest.c
 
19
        $(CC) -o runtest$(EXEEXT) $(CFLAGS) runtest.c $(LIBS) $(THREADLIB)
 
20
 
 
21
do_runtest: runtest$(EXEEXT)
 
22
        ./runtest
 
23
 
 
24
runsuite$(EXEEXT): runsuite.c
 
25
        $(CC) -o runsuite$(EXEEXT) $(CFLAGS) runsuite.c $(LIBS)
 
26
 
 
27
do_runsuite: runsuite$(EXEEXT)
 
28
        ./runsuite
 
29
 
 
30
testapi$(EXEEXT): testapi.c
 
31
        $(CC) -o testapi$(EXEEXT) $(CFLAGS) testapi.c $(LIBS)
 
32
 
 
33
do_testapi: testapi$(EXEEXT)
 
34
        ./testapi
 
35