comparison buildsys/mk/pcc.mk @ 483:08b0c420ddff

- cleanup
author Tassilo Philipp
date Thu, 17 Mar 2022 10:25:14 +0100
parents 3e629dc19168
children
comparison
equal deleted inserted replaced
482:0f3b6898078d 483:08b0c420ddff
1 #////////////////////////////////////////////////////////////////////////////// 1 #//////////////////////////////////////////////////////////////////////////////
2 # 2 #
3 # Copyright (c) 2010 Daniel Adler <dadler@uni-goettingen.de>, 3 # Copyright (c) 2010-2022 Daniel Adler <dadler@uni-goettingen.de>,
4 # Tassilo Philipp <tphilipp@potion-studios.com> 4 # Tassilo Philipp <tphilipp@potion-studios.com>
5 # 5 #
6 # Permission to use, copy, modify, and distribute this software for any 6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above 7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies. 8 # copyright notice and this permission notice appear in all copies.
9 # 9 #
29 CPPFLAGS = -D__Plan9__ -D__${objtype}__ 29 CPPFLAGS = -D__Plan9__ -D__${objtype}__
30 CFLAGS = -D__Plan9__ -D__${objtype}__ -I$TOP/dyncall -I$TOP/dyncallback -c 30 CFLAGS = -D__Plan9__ -D__${objtype}__ -I$TOP/dyncall -I$TOP/dyncallback -c
31 #CXXFLAGS = $CXXFLAGS -D__Plan9__ 31 #CXXFLAGS = $CXXFLAGS -D__Plan9__
32 #ASFLAGS = -D__Plan9__ 32 #ASFLAGS = -D__Plan9__
33 33
34 # JUST TEMPORARY AS LONG AS I'M WORKING ON IT - Plan9's sed doesn't support sed comments 34 # @@@ used to convert GAS sources
35 # /^$/d # Remove empty lines. 35 # /^$/d # Remove empty lines.
36 # /^#.*/d # Remove comments. 36 # /^#.*/d # Remove comments.
37 # s/^\.(globl|intel_syntax|file|section).*// # Remove some GAS directives. 37 # s/^\.(globl|intel_syntax|file|section).*// # Remove some GAS directives.
38 # s/(.*):/TEXT \1(SB), $0/g # Reformat function names. 38 # s/(.*):/TEXT \1(SB), $0/g # Reformat function names.
39 # s/%//g # Remove % register prefixes. 39 # s/%//g # Remove % register prefixes.