File:  [DragonFly] / src / gnu / usr.bin / cc / cccp / Attic / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Fri Jan 16 07:45:22 2004 UTC (10 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Major GCC surgery.  Move most compiler-specific files into named
subdirectories and do a major overhaul of the front-end binaries in /usr/bin.

    /usr/libdata/gcc -> /usr/libdata/gcc2
    /usr/libdata/ldscripts -> /usr/libdata/gcc2/ldscripts
    /usr/libexec/{all_gcc_bins} -> /usr/libexec/gcc2/*
    /usr/libexec/{elf,aout}/* -> /usr/libexec/gcc2/{elf,aout}/*

OBJFORMAT_PATH has been changed from a full path to a base path, because
the objformat binary (hardlinked to most compiler related binaries in
/usr/bin) must now interpret the command name and use one of two different
paths to find the actual binary.  Previously certain gcc binaries, such as
'cc' and 'cpp', were directly installed in /usr/bin.  That is no longer the
case.

Objformat now supports the GCCVER environment variable for vectoring the
compiler version.  This will be used to support gcc3 and other compilers.

    1: # $FreeBSD: src/gnu/usr.bin/cc/cccp/Makefile,v 1.16.2.3 2001/08/01 18:48:34 obrien Exp $
    2: # $DragonFly: src/gnu/usr.bin/cc/cccp/Makefile,v 1.3 2004/01/16 07:45:22 dillon Exp $
    3: 
    4: .include "../Makefile.inc"
    5: 
    6: .PATH: ${GCCDIR}
    7: 
    8: PROG=	cpp0
    9: SRCS=	cccp.c cexp.y obstack.c prefix.c version.c
   10: YFLAGS=
   11: BINDIR=	/usr/libexec/gcc2
   12: NOSHARED?=yes
   13: MAN=	cccp.1
   14: LINKS=	${BINDIR}/cpp0 ${BINDIR}/cpp
   15: MLINKS=	cccp.1 cpp.1
   16: 
   17: .include <bsd.prog.mk>