File: Makefile

package info (click to toggle)
ploticus 2.42-4
  • links: PTS
  • area: main
  • in suites: sid
  • size: 3,136 kB
  • ctags: 3,410
  • sloc: ansic: 46,243; perl: 1,590; sh: 392; makefile: 160
file content (29 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##
## Top level Makefile for ploticus and libploticus
##

DESTDIR=
BIN    =$(DESTDIR)/usr/bin
LIB    =$(DESTDIR)/usr/lib
INC    =$(DESTDIR)/usr/include

all:
	cd src; $(MAKE); $(MAKE) libploticus-static; $(MAKE) clean; \
	$(MAKE) FPIC=-fPIC libploticus-so; $(MAKE) clean;

clean:
	(cd src; $(MAKE) distclean);
	(cd pltestsuite; $(MAKE) distclean);
	rm -f configure-stamp build-stamp
	rm -f pltestsuite/out

install:
	install -d -m 755 $(BIN)
	install -m 755 src/ploticus $(BIN)/ploticus
	install -d -m 755 $(DESTDIR)/usr/share/man/man1
	install -m 644 man/man1/pl.1 $(DESTDIR)/usr/share/man/man1/ploticus.1
	install -d -m 755 $(LIB)
	install -m 644 src/libploticus.a $(LIB)
	install -m 644 src/libploticus.so.0.0.0 $(LIB)
	install -d -m 755 $(INC)
	install -m 644 src/libploticus.h $(INC)