smalloc: convert to spinlocks
[fio.git] / Makefile
index cd061adb4642d5ade6e1e827c18f31516e5b7fd0..f05580a6b3106d32ad0543a8d51a7433ef402617 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,12 +5,13 @@ CFLAGS        = -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_
 PROGS  = fio
 SCRIPTS = fio_generate_plots
 OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o filesetup.o \
-       eta.o verify.o memory.o io_u.o parse.o mutex.o options.o \
+       eta.o verify.o memory.o io_u.o parse.o mutex.o spinlock.o options.o \
        rbtree.o diskutil.o fifo.o blktrace.o smalloc.o filehash.o
 
 OBJS += crc/crc7.o
 OBJS += crc/crc16.o
 OBJS += crc/crc32.o
+OBJS += crc/crc32c.o
 OBJS += crc/crc64.o
 OBJS += crc/sha256.o
 OBJS += crc/sha512.o
@@ -46,7 +47,7 @@ fio: $(OBJS)
        $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
 
 depend:
-       $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c crc/*.[ch] 1> .depend
+       $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c crc/*.c 1> .depend
 
 $(PROGS): depend