1 include ..
/..
/Makefile.omd
3 NAME
= check_oracle_health
5 DIR
= $(NAME
)-$(VERSION
)
9 # Configure options for Nagios. Since we want to compile
10 # as non-root, we use our own user and group for compiling.
11 # All files will be packaged as user 'root' later anyway.
16 cd
$(DIR
) ; .
/configure
$(CONFIGUREOPTS
)
20 [ -d
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
] || mkdir
-p
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
21 install -m
755 $(DIR
)/plugins-scripts
/check_oracle_health
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins