-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.mk
53 lines (42 loc) · 1.27 KB
/
Config.mk
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
# configuration for good old make.
# select an architecture from makearch/*
# ...one of: sgi.mips3 sgi.mips2 sol.sun4 sol6.sun4 sun4 osx linux.i386
ARCH=osx
# specify root directory for installation
INSTALLROOT=/usr/local
# specify where to find graphviz
GRAPHVIZ_INC = /usr/local/include/graphviz
GRAPHVIZ_LIB = /usr/local/lib/graphviz
# specify where to find boost
BOOST_INC = /usr/local/include
# automatic dependencies
DEPDIR = .deps
df = $(DEPDIR)/$(*F)
.c.o:
@$(MAKEDEPEND); \
cp $(df).d $(df).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(df).d >> $(df).P; \
rm -f $(df).d
$(CCCOMMAND)
.cpp.o:
@$(MAKEDEPEND); \
cp $(df).d $(df).P; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(df).d >> $(df).P; \
rm -f $(df).d
$(CPPCOMMAND)
###################################################
# Typically, nothing below should be changed. #
###################################################
BINDIR=$(INSTALLROOT)/bin
LIBDIR=$(INSTALLROOT)/lib
INCDIR=$(INSTALLROOT)/include
XPLDIR=$(INSTALLROOT)/examples
DOCDIR=$(INSTALLROOT)/doc
MANDIR=$(INSTALLROOT)/man/man1
LIBMANDIR=$(INSTALLROOT)/man/man3
PKGMANDIR=$(INSTALLROOT)/man/mann
# postscipt and html docs
DOCDIR=$(INSTALLROOT)/doc
VERSION=1.0