blob: f7dd345b3c657ecf82ef50102267ecd56fba3eb7 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Public domain, written by Vladimir Volovich.
VPATH = @srcdir@
srcdir = @srcdir@
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
prefix = @prefix@
datarootdir = @datarootdir@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
manext = 1
man1dir = $(mandir)/man$(manext)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
default all: bbox
bbox: bbox.o
$(CC) $(LDFLAGS) bbox.o -o bbox
.c.o:
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
install: bbox
$(INSTALL) -d $(bindir)
$(INSTALL) -d $(man1dir)
$(INSTALL_SCRIPT) $(srcdir)/ps2eps $(bindir)/ps2eps
$(INSTALL_PROGRAM) bbox $(bindir)/bbox
$(INSTALL_DATA) $(srcdir)/ps2eps.1 $(man1dir)/ps2eps.1
$(INSTALL_DATA) $(srcdir)/bbox.1 $(man1dir)/bbox.1
check:
uninstall:
-rm -f $(bindir)/ps2eps $(bindir)/bbox $(man1dir)/ps2eps.1 $(man1dir)/bbox.1
clean:
-rm -f bbox bbox.o
distclean: clean
-rm -f Makefile config.status config.log config.cache
realclean: distclean
mostlyclean: clean
|