Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 ##
2 ## Top level Makefile for ploticus and libploticus
3 ##
4
5 DESTDIR=
6 BIN =$(DESTDIR)/usr/bin
7 LIB =$(DESTDIR)/usr/lib
8 INC =$(DESTDIR)/usr/include
9
10 all:
11 cd src; $(MAKE); $(MAKE) libploticus-static; $(MAKE) clean; \
12 $(MAKE) FPIC=-fPIC libploticus-so; $(MAKE) clean;
13
14 clean:
15 (cd src; $(MAKE) distclean);
16 (cd pltestsuite; $(MAKE) distclean);
17 rm -f configure-stamp build-stamp
18 rm -f pltestsuite/out
19
20 install:
21 install -d -m 755 $(BIN)
22 install -m 755 src/pl $(BIN)/ploticus
23 install -d -m 755 $(DESTDIR)/usr/share/man/man1
24 install -m 644 man/man1/pl.1 $(DESTDIR)/usr/share/man/man1/ploticus.1
25 install -d -m 755 $(LIB)
26 install -m 644 src/libploticus.a $(LIB)
27 install -m 644 src/libploticus.so.0.0.0 $(LIB)
28 install -d -m 755 $(INC)
29 install -m 644 src/libploticus.h $(INC)