X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=1f58d58ecb7d62f9ab1d1d94628a81f29690a6d7;hb=2639f0560282832563b787a8b180c68739ec2d04;hp=1755981ea0dc676e65b3f187d08cc27b6a64a395;hpb=62232d0618e3f5aa4805b4be34e872895ba1beb2;p=fio.git diff --git a/Makefile b/Makefile index 1755981e..1f58d58e 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ ifdef CONFIG_GFIO PROGS += gfio endif -SOURCE := gettime.c fio.c ioengines.c init.c stat.c log.c time.c filesetup.c \ +SOURCE := gettime.c ioengines.c init.c stat.c log.c time.c filesetup.c \ eta.c verify.c memory.c io_u.c parse.c mutex.c options.c \ lib/rbtree.c smalloc.c filehash.c profile.c debug.c lib/rand.c \ lib/num2str.c lib/ieee754.c $(wildcard crc/*.c) engines/cpu.c \ @@ -76,6 +76,9 @@ endif ifndef CONFIG_STRSEP SOURCE += lib/strsep.c endif +ifndef CONFIG_STRCASESTR + SOURCE += lib/strcasestr.c +endif ifndef CONFIG_GETOPT_LONG_ONLY SOURCE += lib/getopt_long.c endif @@ -173,7 +176,11 @@ ifndef V endif endif -INSTALL = install +ifeq ($(CONFIG_TARGET_OS), SunOS) + INSTALL = ginstall +else + INSTALL = install +endif prefix = /usr/local bindir = $(prefix)/bin