History log of /openbsd-current/usr.bin/cpp/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.12 09-Dec-2013 guenther

Use shell arrays to store arguments instead of building a string for eval.
Add option argument handling for all the options that take an argument.
Handle -I with separate path argument.
Retire gcc2-specific bits.
Handle -U__GNUC__ correctly on gcc4 systems.

ok jca@ millert@


# 1.11 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.10 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


# 1.9 03-May-2010 drahn

Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).
ok kettenis@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.8 10-Feb-2004 espie

Clean-up logic, support -$ on gcc2, nothing on gcc3.
Add -notraditional to help the transition into not -trad land.

ok deraadt@


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.7 23-Dec-1999 mickey

no need for obj dir at all; millert@ ok


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.6 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.5 08-Dec-1996 downsj

install -> ${INSTALL}, -c -> ${COPY}


Revision tags: OPENBSD_2_0_BASE
# 1.4 26-Aug-1996 niklas

Our /usr/libexec/cpp link creation wasn't suitable for cross-builds


# 1.3 26-Jun-1996 deraadt

rcsid


# 1.2 04-Jan-1996 deraadt

create /usr/libexec/cpp as a symbolic link


# 1.1 02-Jan-1996 deraadt

/usr/bin/cpp wrapper script (which now knows where to find the
correct path to GNU cpp through an incredibly twisted hack)