Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
#uncomment and locally adapt next line to fix the full helpfile path name |
| 2 |
HELPFILENAME = -DHELPFILENAME=\"/usr/share/njplot/njplot.help\" |
| 3 |
|
| 4 |
#comment out next line and uncomment next 2 to use the PDFLib Lite library |
| 5 |
NO_PDF = -DNO_PDF |
| 6 |
#PDF = ../PDFlibLite/libs/pdflib |
| 7 |
#PDFLIB = -L$(PDF) -lpdf |
| 8 |
|
| 9 |
# c compiler and linker |
| 10 |
CC = gcc |
| 11 |
|
| 12 |
# Vibrant top directory |
| 13 |
VIBRANT = /usr/include/ncbi |
| 14 |
|
| 15 |
OBJECTS = njplot-vib.o |
| 16 |
OBJUNROOTED = unrooted-vib.o preptree.o |
| 17 |
|
| 18 |
|
| 19 |
CFLAGS = -c -DWIN_MOTIF -Dunix -I$(VIBRANT) $(HELPFILENAME) $(NO_PDF) |
| 20 |
|
| 21 |
all: njplot unrooted newicktops newicktotxt |
| 22 |
|
| 23 |
|
| 24 |
njplot : $(OBJECTS) |
| 25 |
$(CC) -o njplot $(OBJECTS) \ |
| 26 |
-lvibrant -lncbi -lXm -lXt |
| 27 |
|
| 28 |
unrooted : $(OBJUNROOTED) |
| 29 |
$(CC) -o unrooted $(OBJUNROOTED) \ |
| 30 |
-lvibrant -lncbi -lXm -lXt |
| 31 |
|
| 32 |
newicktops: njplot-vib.c |
| 33 |
$(CC) -DNO_GUI -DNO_PDF -o $@ njplot-vib.c -lm |
| 34 |
|
| 35 |
newicktotxt: njplot-vib.c |
| 36 |
$(CC) -DTTY -o $@ njplot-vib.c -lm |
| 37 |
|
| 38 |
|
| 39 |
.c.o : |
| 40 |
$(CC) $(CFLAGS) $? |
| 41 |
|
| 42 |
clean: |
| 43 |
rm -f *.o |
| 44 |
|
| 45 |
distclean: clean |
| 46 |
rm -f njplot unrooted newicktops newicktotxt |