diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 35fd15d..3b872bb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,7 +24,7 @@ sc_tight_scope: $(all_programs) ( printf '^main$$\n^usage$$\n'; \ grep -h -A1 '^extern .*[^;]$$' $(SOURCES) \ | grep -vE '^(extern |--)' |sed 's/^/^/;s/ .*/$$/' ) > $$t; \ - nm -e *.$(OBJEXT) \ + nm -e *.$(OBJEXT) ../libidu/*.$(OBJEXT) \ | sed -n 's/.* T //p' \ | grep -Ev -f $$t && \ { echo 'the above functions should have static scope' 1>&2; \ @@ -32,7 +32,7 @@ sc_tight_scope: $(all_programs) ( printf '^program_name$$\n'; \ sed -n 's/^extern int \([^ ][^ ]*\);$$/^\1$$/p' \ $(noinst_HEADERS) /dev/null ) > $$t; \ - nm -e *.$(OBJEXT) \ + nm -e *.$(OBJEXT) ../libidu/*.$(OBJEXT) \ | sed -n 's/.* [BD] //p' \ | grep -Ev -f $$t && \ { echo 'the above variables should have static scope' 1>&2; \ |