~ubuntu-branches/debian/sid/njplot/sid

« back to all changes in this revision

Viewing changes to makefile

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2004-12-01 22:04:35 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041201220435-q1l8jllyq3rofj7z
Tags: 0.20041129-2
* According to the ncbi maintainer switched back from 
  priority extra to optional because the package depends
  now are adjusted
* Build-Depends now libvibrant6-dev | vibrant-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#VIBRANT = /banques0/ncbi6.1
 
2
#VIBRANT = /banques0/ncbiJun04
 
3
#MOTIFLIB = /usr/dt/lib
 
4
 
1
5
OBJNJPLOT = njplot-vib.o
2
6
 
3
7
OBJUNROOTED = unrooted-vib.o preptree.o
4
8
 
5
 
CFLAGS = -c -I/usr/include/ncbi  $(OPT) $(DEBUG) $(CPPFLAGS)
 
9
CFLAGS = -I/usr/include/ncbi $(OPT) $(DEBUG) $(CPPFLAGS)
 
10
LIBS =  -L/usr/X11R6/lib -lvibrant -lncbi \
 
11
        -lXm -lXmu -lXt -lX11 -lm
6
12
 
7
13
CC = gcc
8
14
 
9
 
all: njplot unrooted
 
15
all: njplot unrooted newicktops newicktotxt add_root
10
16
 
11
17
njplot: $(OBJNJPLOT)
12
 
        $(CC) $(DEBUG) -o $@ $(OBJNJPLOT) \
13
 
        -L/usr/X11R6/lib -lvibrant -lncbi \
14
 
        -lXm -lXmu\
15
 
        -lXt -lX11 -lm
 
18
        $(CC) $(DEBUG) -o $@ $(OBJNJPLOT) $(LIBS)
16
19
 
17
20
unrooted: $(OBJUNROOTED)
18
 
        $(CC) $(DEBUG) -o $@ $(OBJUNROOTED) \
19
 
        -L/usr/X11R6/lib -lvibrant -lncbi \
20
 
        -lXm -lXmu\
21
 
        -lXt -lX11 -lm
 
21
        $(CC) $(DEBUG) -o $@ $(OBJUNROOTED) $(LIBS)
 
22
 
 
23
newicktops: njplot-vib.c
 
24
        $(CC) -DNO_GUI  -o $@ njplot-vib.c -lm
 
25
 
 
26
newicktotxt: njplot-vib.c
 
27
        $(CC) -DTTY  -o $@ njplot-vib.c -lm
 
28
 
 
29
 
 
30
add_root: njplot-vib.c
 
31
        $(CC) -DADDROOT  -o $@ njplot-vib.c -lm
 
32
 
22
33
 
23
34
.c.o : 
24
 
        $(CC) $(CFLAGS)  $?
25
 
 
26
 
install:
27
 
        install -m 0755 njplot unrooted $(DESTDIR)/usr/bin
28
 
        install -m 0644 njplot.help $(DESTDIR)/usr/lib/njplot
29
 
 
30
 
clean:
31
 
        rm -f *.o njplot unrooted
32
 
 
 
35
        $(CC) -c $(CFLAGS)  $?