Makefile.am revision 7a33c86eb98056ef0570c99e713214f8dc56b6ef
1 2SUBDIRS = 3 4if BUILD_JVMTI_AGENT 5SUBDIRS += jvmti 6endif 7 8if BUILD_JVMPI_AGENT 9SUBDIRS += jvmpi 10endif 11 12INSTALL_EXEC_HOOK = 13 14if CHECK_ACCOUNT 15INSTALL_EXEC_HOOK += __install-exec-hook 16endif 17 18__install-exec-hook: 19 @getent passwd oprofile >/dev/null || ( \ 20 echo "****************************************************************" ; \ 21 echo "* WARNING:" ; \ 22 echo "* Create the 'oprofile' user account to enable profiling of JITed code." ; \ 23 echo "****************************************************************") ; 24 @getent group oprofile >/dev/null || ( \ 25 echo "****************************************************************" ; \ 26 echo "* WARNING:" ; \ 27 echo "* Create the 'oprofile' group to enable profiling of JITed code." ; \ 28 echo "****************************************************************") ; 29 @test -z `id -gn oprofile 2>/dev/null` || \ 30 test `id -gn oprofile 2>/dev/null` = "oprofile" || ( \ 31 echo "****************************************************************" ; \ 32 echo "* WARNING:" ; \ 33 echo "* The special user 'oprofile' must have the default group set to 'oprofile'." ; \ 34 echo "****************************************************************") ; 35 36install-exec-hook: $(INSTALL_EXEC_HOOK) 37