Changed the names to match the PECL nomenclature
[phpCairo.git] / src / cairo / build / scan_makefile_in.awk
blob0c6d20398fee963aa95f9a708fa3cd17e92b8ad2
1 BEGIN {
2 mode=0
3 sources=""
6 mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ {
7 if (match($0, "[^=]*$")) {
8 sources=substr($0, RSTART, RLENGTH-1)
10 mode=1
11 next
14 mode == 0 && /^LTLIBRARY_SOURCES.*/ {
15 if (match($0, "[^=]*$")) {
16 sources=substr($0, RSTART, RLENGTH)
20 mode == 1 && /.*\\$/ {
21 sources=sources substr($0, 0, length - 1)
22 next
25 mode == 1 {
26 sources=sources $0
27 mode=0
30 END {
31 print sources