Lines Matching refs:lookup

275             my $lookup = $program . '_SOURCES\s*=[ \t]*(.*)';
285 substituteLine($lookup, "$program\_SOURCES=" . $sources{$program});
366 my $lookup = $program . '_OBJECTS\s*=[ \t]*.*';
382 if($MakefileData =~ m/\n$lookup/) {
383 substituteLine ($lookup, $new);
394 my $lookup = '(\@\S+\@)?DEP_FILES\s*=[ \t]*(.*)';
395 if ($MakefileData =~ /\n$lookup/) {
414 substituteLine($lookup, $lines);
420 $lookup = 'RECURSIVE_TARGETS\s*=[ \t]*(.*)';
421 if ($MakefileData =~ /\n$lookup/) {
422 substituteLine($lookup, "RECURSIVE_TARGETS = $1 nmcheck-recursive bcheck-recursive");
444 my $lookup = "install-exec-am:([^\n]*)";
445 if($MakefileData =~ /\n$lookup\n/) {
446 substituteLine("$lookup", "install-exec-am: $1 install-kde_moduleLTLIBRARIES");
455 my $lookup = quotemeta($add) . ':([^\n]*)';
456 if ($MakefileData =~ /\n$lookup\n/) {
458 my $oldlines = $lookup;
481 my $lookup = quotemeta("$1\$(CXXFLAGS)$2");
483 $MakefileData =~ s/$lookup/$replacement/;
484 $lookup =~ s/\\\$\\\(CXXFLAGS\\\)/\\\$\\\(KCXXFLAGS\\\)/;
486 substituteLine($lookup, $replacement);
493 $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=link) (\$\(CXXLD\).*\$\(KCXXFLAGS\))';
495 if ($MakefileData =~ m/$lookup/ ) {
496 $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
499 $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=compile)\s+(\$\(CXX\)\s+)';
500 if ($MakefileData =~ m/$lookup/ ) {
501 $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
507 $lookup = '(.*)cp -pr \$\$/\$\$file \$\(distdir\)/\$\$file(.*)';
508 if ($MakefileData =~ m/\n$lookup\n/) {
509 substituteLine($lookup, "$1cp -pr \$\$d/\$\$file \$(distdir)/\$\$file$2");
674 my $lookup = 'DEPDIR\s*=.*';
675 if ($MakefileData !~ /\n$lookup/) {
676 $lookup = 'bindir\s*=[ \t]*.*';
677 substituteLine($lookup, "DEPDIR = .deps\n$1") if ($MakefileData =~ /\n($lookup)/);
703 my $lookup = '[^=\n]*META_INCLUDES\s*=[ \t]*(.*)';
704 return 1 if ($MakefileData !~ /($lookup)\n/);
708 removeLine ($lookup, $1);
863 my $lookup = 'kdeinit_LTLIBRARIES\s*=[ \t]*(.*)';
865 if ($MakefileData =~ m/\n$lookup/) {
889 $lookup = $kdeinit . '_la_LIBADD\s*=[ \t]*(.*)';
890 if($MakefileData =~ m/\n$lookup/) {
892 substituteLine($lookup, "${kdeinit}_la_LIBADD = libkdeinit_${kdeinit}.la");
898 $lookup = $kdeinit . '_la_DEPENDENCIES\s*=[ \t]*(.*)';
899 if($MakefileData =~ m/\n$lookup/) {
901 … substituteLine($lookup, "${kdeinit}_la_DEPENDENCIES = libkdeinit_${kdeinit}.la");
906 $lookup = "am_${kdeinit}_la_OBJECTS" . '\s*=[ \t]*(.*)';
907 if($MakefileData =~ m/\n$lookup/) {
909 substituteLine($lookup, "am_${kdeinit}_la_OBJECTS = ${kdeinit}_dummy.lo");
923 $lookup = $kdeinit . '_la_SOURCES\s*=[ \t]*(.*)';
924 if($MakefileData =~ m/\n$lookup/) {
931 $lookup = $kdeinit . '_la_METASOURCES\s*=[ \t]*(.*)';
932 substituteLine($lookup, "libkdeinit_${kdeinit}_la_METASOURCES = $1")
933 if($MakefileData =~ m/\n$lookup/);
937 $lookup = $kdeinit. '_SOURCES\s*=[ \t]*(.*)';
938 if($MakefileData =~ m/\n$lookup/) {
939 substituteLine($lookup, "${kdeinit}_SOURCES = ${kdeinit}.la.$cxxsuffix");
940 $lookup = 'SOURCES\s*=[ \t]*(.*)';
941 if($MakefileData =~ m/\n$lookup/) {
945 substituteLine($lookup, "SOURCES = $srces");
947 $lookup = 'DIST_SOURCES\s*=[ \t](.*)';
948 if($MakefileData =~ m/\n$lookup/) {
952 substituteLine($lookup, "DIST_SOURCES = $srces");
957 $lookup = $kdeinit . '_OBJECTS\s*=[ \t]*.*';
958 if($MakefileData =~ m/\n$lookup/) {
986 $lookup = 'lib_LTLIBRARIES\s*=[ \t]*(.*)';
987 if($MakefileData =~ m/\n$lookup/) {
988 substituteLine($lookup, "lib_LTLIBRARIES = $1 $ltlibs");
1010 $lookup = 'SOURCES\s*=[ \t]*(.*)';
1011 if($MakefileData =~ /\n$lookup/) {
1012 substituteLine($lookup, "SOURCES = $1 $progsources");
1014 $lookup = 'DIST_SOURCES\s*=[ \t]*(.*)';
1015 if($MakefileData =~ /\n$lookup/) {
1016 substituteLine($lookup, "DIST_SOURCES = $1 $progsources");
1020 $lookup = 'PROGRAMS\s*=[ \t]*(.*)';
1021 if ($MakefileData =~ /\n$lookup/) {
1022 substituteLine($lookup, "bin_PROGRAMS += $progexes\nPROGRAMS = $1");
1033 my $lookup = "$program" . '_COMPILE_FIRST\s*=[ \t]*(.*)';
1034 if ($MakefileData =~ m/\n$lookup\n/) {
1075 my $lookup;
1078 $lookup = $program . '_METASOURCES\s*=\s*(.*)';
1079 return 1 if ($MakefileData !~ /\n($lookup)\n/);
1082 $lookup = $program . '_METASOURCES\s*=\s*(.*)';
1083 if ($MakefileData !~ /\n($lookup)\n/) {
1084 $lookup = 'METASOURCES\s*=\s*(.*)';
1085 return 1 if ($MakefileData !~ /\n($lookup)\n/);
1097 removeLine ($lookup, $found);
1145 my $lookup = '.*cd \$\(top_srcdir\)\s+&&[\034\s]+\$\(AUTOMAKE\)(.*)';
1146 return 1 if ($MakefileData !~ /\n($lookup)\n/);
1153 substituteLine ($lookup, $newLine);
1156 $lookup = '.*cd \$\(srcdir\)\s+&&[\034\s]+\$\(AUTOCONF\)(.*)';
1157 if ($MakefileData =~ /\n($lookup)\n/) {
1160 substituteLine ($lookup, $newLine);
1320 my $lookup = "($program)";
1321 $lookup .= '(|\$\(EXEEXT\))';
1322 $lookup =~ s/\_/./g;
1323 $lookup .= ":(.*..$program\_OBJECTS..*)";
1325 if ($MakefileData =~ /\n$lookup\n/) {
1332 substituteLine($lookup, $line);
1334 print STDERR "no built dependency found $lookup\n";
1464 my $lookup = '([^\s]*)_ICON\s*=[ \t]*(.*)';
1468 while ($MakefileData =~ /\n$lookup/g) {
1619 my $lookup = 'POFILES\s*=([^\n]*)';
1620 if ($MakefileData !~ /\n$lookup/) {
1623 substituteLine ($lookup, "$pofileLine\nGMOFILES =$allgmofiles");
1633 $lookup = 'DISTFILES\s*=[ \t]*(.*)';
1634 if ($MakefileData =~ /\n$lookup/) {
1636 substituteLine ($lookup, $tmp);
1713 my $lookup = 'POFILES\s*=([^\n]*)';
1714 return 1 if ($MakefileData !~ /\n$lookup/);
1753 my $lookup = "\035" . $_[0] . " *:[^\035]*\035\t";
1756 if ($copy =~ /($lookup.*)$/) {
1811 my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
1812 $MakefileData =~ m/$lookup/;
1820 $lookup = $program . '\_LDFLAGS(\s*)=(.*)-no-undefined(.*)';
1821 if ($MakefileData =~ /\n$lookup\n/) {
1823 substituteLine($lookup, $replace);
1830 my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
1831 $MakefileData =~ m/$lookup/;
1850 $lookup = $realname{$program} . ": (.*)";
1851 if ($MakefileData =~ /\n$lookup\n/) {
1854 substituteLine($lookup, $lines);
1861 my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
1862 $MakefileData =~ m/$lookup/;
1867 $lookup = $program . '_NMCHECK\s*=([^\n]*)';
1868 if( $MakefileData !~ m/\n$lookup\n/ ) {
1873 $lookup = $program . '_NMCHECKWEAK\s*=([^\n]*)';
1876 if( $MakefileData =~ m/\n$lookup\n/ ) {
1887 $lookup = '(\t\$\(CXXLINK\)[^\n]*' . $program . '_OBJECTS[^\n]*)';
1888 if( $MakefileData =~ /\n$lookup\n/ ) {
1890 substituteLine( $lookup, $oldstuff . "\n" . $nmline );
1892 $lookup = '(\t\$\(LINK\)[^\n]*' . $program . '_OBJECTS[^\n]*)';
1893 if( $MakefileData =~ /\n$lookup\n/ ) {
1895 substituteLine( $lookup, $oldstuff . "\n" . $nmline );
1941 my $lookup = 'DISTFILES\s*=[ \t]*(.*)';
1942 if ($MakefileData =~ /\n$lookup/) {
1943 substituteLine($lookup, "DISTFILES = $1 \$(KDE_DIST)");
1956 my $lookup = 'KDE_DOCS\s*=[ \t]*([^\n]*)';
1957 goto nodocs if ($MakefileData !~ /\n$lookup/);
1997 my $lookup = 'MEINPROC\s*=';
1998 if ($MakefileData !~ /\n($lookup)/) {
2001 $lookup = 'KDE_XSL_STYLESHEET\s*=';
2002 if ($MakefileData !~ /\n($lookup)/) {
2005 $lookup = '\nindex.cache.bz2:';
2006 if ($MakefileData !~ /\n($lookup)/) {
2256 my $lookup = 'RECURSIVE_TARGETS\s*=[ \t]*(.*)';
2258 $bcheckdep = "bcheck-recursive" if ($MakefileData =~ /\n$lookup/);
2369 my ($lookup, $old) = @_;
2372 $MakefileData =~ s/\n$lookup/\n#>\- $old/;
2382 my ($lookup, $new) = @_;
2384 if ($MakefileData =~ /\n($lookup)/) {
2389 $MakefileData =~ s/\n$lookup/\n#>- $old\n#>\+ $newCount\n$new/;
2391 warn "Warning: substitution of \"$lookup\" in $printname failed\n";