X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=Makefile.FreeBSD;h=b877901a2e43f639ccaf982818367167792d1ff1;hp=ce7b05663b64333b627826a1cb6c2cbe646287da;hb=faf5c880f6ddcd44ff896ba1cf3da38b23fe0f39;hpb=5c4e1dbc4ec6ee963220c5f4e64a04cd6130dc81 diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index ce7b0566..b877901a 100644 --- 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 +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) -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: - @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend + @$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c 1> .depend cscope: @cscope -b