2 # $FreeBSD: src/gnu/lib/libg++/Makefile,v 1.22 1999/08/27 23:32:45 peter Exp $
3 # $DragonFly: src/gnu/lib/libg++/Attic/Makefile,v 1.2 2003/06/17 04:25:44 dillon Exp $
6 GPPDIR= ${.CURDIR}/../../../contrib/libg++
8 .PATH: ${GPPDIR}/libiberty ${GPPDIR}/libio ${GPPDIR}/libg++/src ${GPPDIR}/librx
16 CFLAGS+= -I${GPPDIR}/include -I${DESTDIR}/usr/include/g++
17 CXXFLAGS+= -I${GPPDIR}/include -I${GPPDIR}/libio -I${GPPDIR}/libstdc++
19 # Strictly speaking, libg++ should depend on libstdc++, but 1) It doesn't
20 # work (ld freaks out), and 2) the c++ driver adds it explicitly (which works).
25 SRCS= bitand.c bitany.c bitblt.c bitclear.c bitcopy.c bitcount.c \
26 bitinvert.c bitlcomp.c bitset1.c bitxor.c timer.c
32 SRCS+= ACG.cc AllocRing.cc Binomial.cc BitSet.cc BitString.cc DLList.cc \
33 DiscUnif.cc Erlang.cc Fix.cc Fix16.cc Fix24.cc Geom.cc GetOpt.cc \
34 HypGeom.cc Intdouble.cc Integer.cc LogNorm.cc MLCG.cc NegExp.cc \
35 Normal.cc Obstack.cc Poisson.cc RNG.cc Random.cc Rational.cc \
36 Regex.cc RndInt.cc SLList.cc SmplHist.cc SmplStat.cc String.cc \
37 Uniform.cc Weibull.cc \
38 builtin.cc compare.cc error.cc fmtq.cc gcd.cc hash.cc ioob.cc \
41 # "normal" headers (no CursesW.h[its useless], no bool.h[in stdc++])
42 HDRS= ACG.h AllocRing.h Binomial.h BitSet.h BitString.h Complex.h \
43 DLList.h DiscUnif.h Erlang.h Fix.h Fix16.h Fix24.h Geom.h GetOpt.h \
44 HypGeom.h Incremental.h Integer.h LogNorm.h MLCG.h NegExp.h Normal.h \
45 Obstack.h Pix.h Poisson.h RNG.h Random.h Rational.h Regex.h RndInt.h \
46 SLList.h SmplHist.h SmplStat.h String.h Uniform.h Weibull.h \
47 bitdo1.h bitdo2.h bitprims.h builtin.h compare.h generic.h \
48 getpagesize.h libc.h minmax.h osfcn.h std.h strclass.h swap.h \
52 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
53 ${HDRS:S;^;${GPPDIR}/libg++/src/;} \
54 ${GPPDIR}/librx/rx.h \
55 ${DESTDIR}/usr/include/g++