Makefile: use ginstall on Solaris
[fio.git] / Makefile
index 15455052a7011857f619c0938875d761a96da103..a5322a9c5fd0a22e3098028ee78f7b795d18fadc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -167,7 +167,11 @@ ifndef V
 endif
 endif
 
-INSTALL = install
+ifeq ($(CONFIG_TARGET_OS), SunOS)
+       INSTALL = ginstall
+else
+       INSTALL = install
+endif
 prefix = /usr/local
 bindir = $(prefix)/bin