projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add example network io job file
[fio.git]
/
Makefile.FreeBSD
diff --git
a/Makefile.FreeBSD
b/Makefile.FreeBSD
index ce7b05663b64333b627826a1cb6c2cbe646287da..b877901a2e43f639ccaf982818367167792d1ff1 100644
(file)
--- a/
Makefile.FreeBSD
+++ b/
Makefile.FreeBSD
@@
-2,19
+2,26
@@
CC = gcc
CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PROGS = fio
SCRIPTS = fio_generate_plots
CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PROGS = fio
SCRIPTS = fio_generate_plots
+OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \
+ filesetup.o eta.o verify.o memory.o io_u.o parse.o
-OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o
+OBJS += engines/cpu.o
+OBJS += engines/mmap.o
+OBJS += engines/posixaio.o
+OBJS += engines/sync.o
+OBJS += engines/null.o
+OBJS += engines/net.o
all: depend $(PROGS) $(SCRIPTS)
all: depend $(PROGS) $(SCRIPTS)
-fio:
fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o
- $(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm
+fio:
$(OBJS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm
-ldl -lrt
clean:
-rm -f *.o .depend cscope.out $(PROGS)
depend:
clean:
-rm -f *.o .depend cscope.out $(PROGS)
depend:
- @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
+ @$(CC) -MM $(ALL_CFLAGS) *.c
engines/*.c
1> .depend
cscope:
@cscope -b
cscope:
@cscope -b