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 for i in configure.ac aclocal.m4 configure Makefile.am Makefile.in
; do \
17 test -f
$(DIR
)/$$i && touch
$(DIR
)/$$i ; \
19 cd
$(DIR
) ; .
/configure
$(CONFIGUREOPTS
)
23 [ -d
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
] || mkdir
-p
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
24 install -m
755 $(DIR
)/plugins-scripts
/check_oracle_health
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins