summaryrefslogtreecommitdiff
path: root/devel/boost/files/Makefile
blob: c340db79efec511c98e9742634b397d29df752e1 (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
# $NetBSD: Makefile,v 1.4 2000/11/03 00:16:32 jlam Exp $

CXX?=		c++

LIB=		libboost.la

SRCS=		libs/timer/prg_display.cpp \
		libs/timer/prg_timer.cpp \
		libs/timer/timer.cpp
OBJS=		${SRCS:.cpp=.lo}
LOBJS=		${OBJS:T}

CXXFLAGS+=	# empty
CPPFLAGS+=	-I${.CURDIR} -I${LOCALBASE}/include/sgi-stl

all:	${LIB}

${LIB}:	${LOBJS}
	${LIBTOOL} ${CXX} ${CXXFLAGS} -o ${.TARGET} ${LOBJS} \
		-rpath ${PREFIX}/lib -version-info ${BOOST_VERS}

prg_display.lo:	libs/timer/prg_display.cpp
	${LIBTOOL} ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${.ALLSRC}

prg_timer.lo:	libs/timer/prg_timer.cpp
	${LIBTOOL} ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${.ALLSRC}

timer.lo:	libs/timer/timer.cpp
	${LIBTOOL} ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${.ALLSRC}