Jens Axboe | 79e48f7 | 2008-02-01 20:37:09 +0100 | [diff] [blame] | 1 | DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG |
Jens Axboe | 44404c5 | 2013-01-24 14:20:09 -0700 | [diff] [blame] | 2 | CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(DEBUGFLAGS) |
Jens Axboe | b14c9ed | 2013-01-08 13:41:35 +0100 | [diff] [blame] | 3 | OPTFLAGS= -O3 -g -ffast-math $(EXTFLAGS) |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 4 | CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS) |
Yufei Ren | b6cf38f | 2011-08-02 12:15:30 +0200 | [diff] [blame] | 5 | LIBS = -lm $(EXTLIBS) |
Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 6 | PROGS = fio |
| 7 | SCRIPTS = fio_generate_plots |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 8 | UNAME := $(shell uname) |
| 9 | |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 10 | ifneq ($(wildcard config-host.mak),) |
| 11 | all: |
| 12 | include config-host.mak |
| 13 | config-host-mak: configure |
| 14 | @echo $@ is out-of-date, running configure |
| 15 | @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh |
| 16 | else |
| 17 | config-host.mak: |
| 18 | @echo "Running configure for you..." |
| 19 | @./configure |
| 20 | all: |
| 21 | include config-host.mak |
| 22 | endif |
| 23 | |
Bruce Cran | 93bcfd2 | 2012-02-20 20:18:19 +0100 | [diff] [blame] | 24 | SOURCE := gettime.c fio.c ioengines.c init.c stat.c log.c time.c filesetup.c \ |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 25 | eta.c verify.c memory.c io_u.c parse.c mutex.c options.c \ |
| 26 | rbtree.c smalloc.c filehash.c profile.c debug.c lib/rand.c \ |
Jens Axboe | c7c6cb4 | 2011-10-13 14:12:40 +0200 | [diff] [blame] | 27 | lib/num2str.c lib/ieee754.c $(wildcard crc/*.c) engines/cpu.c \ |
Jens Axboe | d48a979 | 2011-07-09 08:54:26 +0200 | [diff] [blame] | 28 | engines/mmap.c engines/sync.c engines/null.c engines/net.c \ |
Jens Axboe | 62cb17d | 2012-09-19 21:36:18 +0200 | [diff] [blame] | 29 | memalign.c server.c client.c iolog.c backend.c libfio.c flow.c \ |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 30 | json.c lib/zipf.c lib/axmap.c lib/lfsr.c gettime-thread.c \ |
Jens Axboe | 44404c5 | 2013-01-24 14:20:09 -0700 | [diff] [blame] | 31 | helpers.c lib/flist_sort.c lib/hweight.c lib/getrusage.c |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 32 | |
Bruce Cran | c81f934 | 2013-01-13 17:09:22 +0000 | [diff] [blame] | 33 | ifdef CONFIG_64BIT_LLP64 |
| 34 | CFLAGS += -DBITS_PER_LONG=32 |
| 35 | endif |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 36 | ifdef CONFIG_64BIT |
| 37 | CFLAGS += -DBITS_PER_LONG=64 |
| 38 | endif |
| 39 | ifdef CONFIG_32BIT |
| 40 | CFLAGS += -DBITS_PER_LONG=32 |
| 41 | endif |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 42 | ifdef CONFIG_LIBAIO |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 43 | SOURCE += engines/libaio.c |
| 44 | endif |
| 45 | ifdef CONFIG_RDMA |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 46 | SOURCE += engines/rdma.c |
| 47 | endif |
| 48 | ifdef CONFIG_POSIXAIO |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 49 | SOURCE += engines/posixaio.c |
| 50 | endif |
| 51 | ifdef CONFIG_LINUX_FALLOCATE |
| 52 | SOURCE += engines/falloc.c |
| 53 | endif |
| 54 | ifdef CONFIG_LINUX_EXT4_MOVE_EXTENT |
| 55 | SOURCE += engines/e4defrag.c |
| 56 | endif |
| 57 | ifdef CONFIG_LINUX_SPLICE |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 58 | SOURCE += engines/splice.c |
| 59 | endif |
| 60 | ifdef CONFIG_GUASI |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 61 | SOURCE += engines/guasi.c |
| 62 | endif |
| 63 | ifdef CONFIG_FUSION_AW |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 64 | SOURCE += engines/fusion-aw.c |
| 65 | endif |
| 66 | ifdef CONFIG_SOLARISAIO |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 67 | SOURCE += engines/solarisaio.c |
| 68 | endif |
Jens Axboe | 4700b23 | 2013-01-24 15:33:33 -0700 | [diff] [blame] | 69 | ifdef CONFIG_WINDOWSAIO |
Jens Axboe | 4700b23 | 2013-01-24 15:33:33 -0700 | [diff] [blame] | 70 | SOURCE += engines/windowsaio.c |
| 71 | endif |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 72 | ifndef CONFIG_STRSEP |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 73 | SOURCE += lib/strsep.c |
| 74 | endif |
| 75 | ifndef CONFIG_GETOPT_LONG_ONLY |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 76 | SOURCE += lib/getopt_long.c |
| 77 | endif |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 78 | ifndef CONFIG_INET_ATON |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 79 | SOURCE += lib/inet_aton.c |
| 80 | endif |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 81 | |
| 82 | ifeq ($(UNAME), Linux) |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 83 | SOURCE += diskutil.c fifo.c blktrace.c cgroup.c trim.c engines/sg.c \ |
| 84 | engines/binject.c profiles/tiobench.c |
| 85 | LIBS += -lpthread -ldl |
Jens Axboe | 213a01b | 2011-10-07 13:24:16 +0200 | [diff] [blame] | 86 | LDFLAGS += -rdynamic |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 87 | endif |
Aaron Carroll | ec5c6b1 | 2012-11-21 10:39:00 +0100 | [diff] [blame] | 88 | ifeq ($(UNAME), Android) |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 89 | SOURCE += diskutil.c fifo.c blktrace.c trim.c profiles/tiobench.c |
Aaron Carroll | ec5c6b1 | 2012-11-21 10:39:00 +0100 | [diff] [blame] | 90 | LIBS += -ldl |
| 91 | LDFLAGS += -rdynamic |
| 92 | CPPFLAGS += -DFIO_NO_HAVE_SHM_H |
| 93 | endif |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 94 | ifeq ($(UNAME), SunOS) |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 95 | LIBS += -lpthread -ldl -laio -lrt -lnsl -lsocket |
| 96 | CPPFLAGS += -D__EXTENSIONS__ |
| 97 | endif |
| 98 | ifeq ($(UNAME), FreeBSD) |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 99 | LIBS += -lpthread -lrt |
Jens Axboe | 213a01b | 2011-10-07 13:24:16 +0200 | [diff] [blame] | 100 | LDFLAGS += -rdynamic |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 101 | endif |
| 102 | ifeq ($(UNAME), NetBSD) |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 103 | LIBS += -lpthread -lrt |
Jens Axboe | 213a01b | 2011-10-07 13:24:16 +0200 | [diff] [blame] | 104 | LDFLAGS += -rdynamic |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 105 | endif |
| 106 | ifeq ($(UNAME), AIX) |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 107 | LIBS += -lpthread -ldl -lrt |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 108 | CPPFLAGS += -D_LARGE_FILES -D__ppc__ |
Michael Perzl | 48b35be | 2011-07-13 20:28:07 +0200 | [diff] [blame] | 109 | LDFLAGS += -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 110 | endif |
Jens Axboe | c00a228 | 2011-07-08 20:56:06 +0200 | [diff] [blame] | 111 | ifeq ($(UNAME), HP-UX) |
Jens Axboe | b5ffb75 | 2011-07-09 13:28:19 +0200 | [diff] [blame] | 112 | LIBS += -lpthread -ldl -lrt |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 113 | CFLAGS += -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE_EXTENDED |
Jens Axboe | c00a228 | 2011-07-08 20:56:06 +0200 | [diff] [blame] | 114 | endif |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 115 | ifeq ($(UNAME), Darwin) |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 116 | LIBS += -lpthread -ldl |
| 117 | endif |
| 118 | ifneq (,$(findstring CYGWIN,$(UNAME))) |
Bruce Cran | 93bcfd2 | 2012-02-20 20:18:19 +0100 | [diff] [blame] | 119 | SOURCE := $(filter-out engines/mmap.c,$(SOURCE)) |
Jens Axboe | 4700b23 | 2013-01-24 15:33:33 -0700 | [diff] [blame] | 120 | SOURCE += os/windows/posix.c |
Bruce Cran | 93bcfd2 | 2012-02-20 20:18:19 +0100 | [diff] [blame] | 121 | LIBS += -lpthread -lpsapi -lws2_32 |
| 122 | CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format |
Bruce Cran | d015e39 | 2011-01-28 08:39:09 +0100 | [diff] [blame] | 123 | endif |
| 124 | |
Bruce Cran | 9b83656 | 2011-01-08 19:49:54 +0100 | [diff] [blame] | 125 | OBJS = $(SOURCE:.c=.o) |
Jens Axboe | 79d1631 | 2010-03-04 12:43:20 +0100 | [diff] [blame] | 126 | |
Jens Axboe | 61f78f3 | 2011-10-05 10:25:54 +0200 | [diff] [blame] | 127 | T_SMALLOC_OBJS = t/stest.o |
Jens Axboe | 39ab7da | 2012-11-06 22:10:43 +0100 | [diff] [blame] | 128 | T_SMALLOC_OBJS += gettime.o mutex.o smalloc.o t/log.o |
Jens Axboe | 61f78f3 | 2011-10-05 10:25:54 +0200 | [diff] [blame] | 129 | T_SMALLOC_PROGS = t/stest |
| 130 | |
| 131 | T_IEEE_OBJS = t/ieee754.o |
Jens Axboe | f98f3d0 | 2012-11-06 21:54:30 +0100 | [diff] [blame] | 132 | T_IEEE_OBJS += lib/ieee754.o |
Jens Axboe | 61f78f3 | 2011-10-05 10:25:54 +0200 | [diff] [blame] | 133 | T_IEEE_PROGS = t/ieee754 |
| 134 | |
Jens Axboe | 6ff3885 | 2012-11-06 16:09:14 +0100 | [diff] [blame] | 135 | T_ZIPF_OBS = t/genzipf.o |
Jens Axboe | 24baa4c | 2012-11-12 20:54:12 -0700 | [diff] [blame] | 136 | T_ZIPF_OBJS += t/log.o lib/ieee754.o lib/rand.o lib/zipf.o t/genzipf.o |
Jens Axboe | eed3f51 | 2012-11-07 13:40:01 +0100 | [diff] [blame] | 137 | T_ZIPF_PROGS = t/genzipf |
Jens Axboe | 6ff3885 | 2012-11-06 16:09:14 +0100 | [diff] [blame] | 138 | |
Jens Axboe | ad1f90a | 2012-11-28 21:29:14 +0100 | [diff] [blame] | 139 | T_AXMAP_OBJS = t/axmap.o |
| 140 | T_AXMAP_OBJS += lib/lfsr.o lib/axmap.o |
| 141 | T_AXMAP_PROGS = t/axmap |
| 142 | |
Jens Axboe | 61f78f3 | 2011-10-05 10:25:54 +0200 | [diff] [blame] | 143 | T_OBJS = $(T_SMALLOC_OBJS) |
| 144 | T_OBJS += $(T_IEEE_OBJS) |
Jens Axboe | 6ff3885 | 2012-11-06 16:09:14 +0100 | [diff] [blame] | 145 | T_OBJS += $(T_ZIPF_OBJS) |
Jens Axboe | ad1f90a | 2012-11-28 21:29:14 +0100 | [diff] [blame] | 146 | T_OBJS += $(T_AXMAP_OBJS) |
Jens Axboe | 6ff3885 | 2012-11-06 16:09:14 +0100 | [diff] [blame] | 147 | |
| 148 | T_PROGS = $(T_SMALLOC_PROGS) |
| 149 | T_PROGS += $(T_IEEE_PROGS) |
| 150 | T_PROGS += $(T_ZIPF_PROGS) |
Jens Axboe | ad1f90a | 2012-11-28 21:29:14 +0100 | [diff] [blame] | 151 | T_PROGS += $(T_AXMAP_PROGS) |
Jens Axboe | 3427207 | 2011-08-16 10:01:03 +0200 | [diff] [blame] | 152 | |
Jens Axboe | 4c3ecec | 2008-03-01 16:20:13 +0100 | [diff] [blame] | 153 | ifneq ($(findstring $(MAKEFLAGS),s),s) |
| 154 | ifndef V |
| 155 | QUIET_CC = @echo ' ' CC $@; |
Jens Axboe | 0b2d6a7 | 2008-03-03 12:20:26 +0100 | [diff] [blame] | 156 | QUIET_DEP = @echo ' ' DEP $@; |
Jens Axboe | 4c3ecec | 2008-03-01 16:20:13 +0100 | [diff] [blame] | 157 | endif |
| 158 | endif |
| 159 | |
Jens Axboe | c1d5725 | 2006-10-09 19:56:04 +0200 | [diff] [blame] | 160 | INSTALL = install |
| 161 | prefix = /usr/local |
| 162 | bindir = $(prefix)/bin |
Jens Axboe | bcdf7c5 | 2012-02-08 14:19:27 +0100 | [diff] [blame] | 163 | |
| 164 | ifeq ($(UNAME), Darwin) |
| 165 | mandir = /usr/share/man |
| 166 | else |
Aaron Carroll | d60e92d | 2007-09-17 10:32:59 +0200 | [diff] [blame] | 167 | mandir = $(prefix)/man |
Jens Axboe | bcdf7c5 | 2012-02-08 14:19:27 +0100 | [diff] [blame] | 168 | endif |
Jens Axboe | c1d5725 | 2006-10-09 19:56:04 +0200 | [diff] [blame] | 169 | |
Jens Axboe | 692a5d2 | 2012-04-11 22:07:07 +0200 | [diff] [blame] | 170 | all: .depend $(PROGS) $(SCRIPTS) FORCE |
Michael Zappe | f84622e | 2011-06-01 20:15:18 +0200 | [diff] [blame] | 171 | |
Jens Axboe | 692a5d2 | 2012-04-11 22:07:07 +0200 | [diff] [blame] | 172 | .PHONY: all install clean |
| 173 | .PHONY: FORCE cscope |
| 174 | |
| 175 | FIO-VERSION-FILE: FORCE |
Bruce Cran | 84306c1 | 2012-04-16 19:33:03 +0200 | [diff] [blame] | 176 | @$(SHELL) ./FIO-VERSION-GEN |
Jens Axboe | 692a5d2 | 2012-04-11 22:07:07 +0200 | [diff] [blame] | 177 | -include FIO-VERSION-FILE |
| 178 | |
| 179 | CFLAGS += -DFIO_VERSION='"$(FIO_VERSION)"' |
| 180 | |
| 181 | .c.o: .depend FORCE |
Jens Axboe | 4feafb1 | 2013-01-24 23:07:55 -0700 | [diff] [blame^] | 182 | $(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $< |
Diego Elio Pettenò | e52947d | 2011-03-21 20:13:53 +0100 | [diff] [blame] | 183 | |
Jens Axboe | a6204b6 | 2012-04-13 14:06:08 +0200 | [diff] [blame] | 184 | init.o: FIO-VERSION-FILE |
Jens Axboe | 4feafb1 | 2013-01-24 23:07:55 -0700 | [diff] [blame^] | 185 | $(QUIET_CC)$(CC) -o init.o $(CFLAGS) $(CPPFLAGS) -c init.c |
Jens Axboe | a6204b6 | 2012-04-13 14:06:08 +0200 | [diff] [blame] | 186 | |
Jens Axboe | 61f78f3 | 2011-10-05 10:25:54 +0200 | [diff] [blame] | 187 | t/stest: $(T_SMALLOC_OBJS) |
| 188 | $(QUIET_CC)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_SMALLOC_OBJS) $(LIBS) $(LDFLAGS) |
| 189 | |
| 190 | t/ieee754: $(T_IEEE_OBJS) |
| 191 | $(QUIET_CC)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_IEEE_OBJS) $(LIBS) $(LDFLAGS) |
Jens Axboe | fbc2792 | 2011-08-16 09:56:27 +0200 | [diff] [blame] | 192 | |
Jens Axboe | 6ff3885 | 2012-11-06 16:09:14 +0100 | [diff] [blame] | 193 | t/genzipf: $(T_ZIPF_OBJS) |
| 194 | $(QUIET_CC)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_ZIPF_OBJS) $(LIBS) $(LDFLAGS) |
| 195 | |
Jens Axboe | ad1f90a | 2012-11-28 21:29:14 +0100 | [diff] [blame] | 196 | t/axmap: $(T_AXMAP_OBJS) |
| 197 | $(QUIET_CC)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_AXMAP_OBJS) $(LIBS) $(LDFLAGS) |
| 198 | |
Jens Axboe | 2f9ade3 | 2006-10-20 11:25:52 +0200 | [diff] [blame] | 199 | fio: $(OBJS) |
Michael Perzl | 48b35be | 2011-07-13 20:28:07 +0200 | [diff] [blame] | 200 | $(QUIET_CC)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(LDFLAGS) |
Jens Axboe | 4c3ecec | 2008-03-01 16:20:13 +0100 | [diff] [blame] | 201 | |
Michael Zappe | f84622e | 2011-06-01 20:15:18 +0200 | [diff] [blame] | 202 | .depend: $(SOURCE) |
Bruce Cran | 9b83656 | 2011-01-08 19:49:54 +0100 | [diff] [blame] | 203 | $(QUIET_DEP)$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SOURCE) 1> .depend |
Jens Axboe | 0b2d6a7 | 2008-03-03 12:20:26 +0100 | [diff] [blame] | 204 | |
Jens Axboe | 8541f32 | 2012-04-11 22:24:19 +0200 | [diff] [blame] | 205 | $(PROGS): .depend |
Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 206 | |
Jens Axboe | 692a5d2 | 2012-04-11 22:07:07 +0200 | [diff] [blame] | 207 | clean: FORCE |
Jens Axboe | 67bf982 | 2013-01-10 11:23:19 +0100 | [diff] [blame] | 208 | -rm -f .depend $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core FIO-VERSION-FILE config-host.mak config-host.ld cscope.out |
Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 209 | |
Jens Axboe | 592ef98 | 2006-06-06 20:58:57 +0200 | [diff] [blame] | 210 | cscope: |
Jens Axboe | 366badd | 2010-07-19 16:18:35 -0600 | [diff] [blame] | 211 | @cscope -b -R |
Jens Axboe | 592ef98 | 2006-06-06 20:58:57 +0200 | [diff] [blame] | 212 | |
Jens Axboe | 692a5d2 | 2012-04-11 22:07:07 +0200 | [diff] [blame] | 213 | install: $(PROGS) $(SCRIPTS) FORCE |
Jens Axboe | 513ba3f | 2011-04-29 08:24:10 +0200 | [diff] [blame] | 214 | $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) |
Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 215 | $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir) |
Aaron Carroll | d60e92d | 2007-09-17 10:32:59 +0200 | [diff] [blame] | 216 | $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1 |
| 217 | $(INSTALL) -m 644 fio.1 $(DESTDIR)$(mandir)/man1 |
Jens Axboe | ccd4f41 | 2009-05-20 11:36:39 +0200 | [diff] [blame] | 218 | $(INSTALL) -m 644 fio_generate_plots.1 $(DESTDIR)$(mandir)/man1 |
Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 219 | |
Jens Axboe | 06fecb4 | 2008-03-03 12:22:19 +0100 | [diff] [blame] | 220 | ifneq ($(wildcard .depend),) |
| 221 | include .depend |
| 222 | endif |