b4aca961be
no longer link against the whole library, since they don't require much from it, but just compile the few small modules they actually need static. This should save a measurable amount of space; compare: -r-xr-xr-x 1 bin bin 155648 Sep 18 18:00 cc1* -r-xr-xr-x 1 root bin 1048576 Sep 18 17:33 cc1.noshae* Of course, the library takes up a bit of space, but when you add in the savings from the C++ compiler, you more than make up the difference: -r--r--r-- 1 bin bin 1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0 -r-xr-xr-x 1 bin bin 491520 Sep 18 18:27 /usr/libexec/cc1plus*
11 lines
137 B
Makefile
11 lines
137 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../cc_int
|
|
PROG = cpp
|
|
SRCS = cccp.c cexp.c obstack.c version.c
|
|
BINDIR= /usr/libexec
|
|
|
|
.include <bsd.prog.mk>
|