diff options
Diffstat (limited to 'tools/lib/api/Makefile')
-rw-r--r-- | tools/lib/api/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile index ce00f7ee6455..36c08b1f4afb 100644 --- a/tools/lib/api/Makefile +++ b/tools/lib/api/Makefile | |||
@@ -10,9 +10,14 @@ LIB_OBJS= | |||
10 | 10 | ||
11 | LIB_H += fs/debugfs.h | 11 | LIB_H += fs/debugfs.h |
12 | LIB_H += fs/fs.h | 12 | LIB_H += fs/fs.h |
13 | # See comment below about piggybacking... | ||
14 | LIB_H += fd/array.h | ||
13 | 15 | ||
14 | LIB_OBJS += $(OUTPUT)fs/debugfs.o | 16 | LIB_OBJS += $(OUTPUT)fs/debugfs.o |
15 | LIB_OBJS += $(OUTPUT)fs/fs.o | 17 | LIB_OBJS += $(OUTPUT)fs/fs.o |
18 | # XXX piggybacking here, need to introduce libapikfd, or rename this | ||
19 | # to plain libapik.a and make it have it all api goodies | ||
20 | LIB_OBJS += $(OUTPUT)fd/array.o | ||
16 | 21 | ||
17 | LIBFILE = libapikfs.a | 22 | LIBFILE = libapikfs.a |
18 | 23 | ||
@@ -29,7 +34,7 @@ $(LIBFILE): $(LIB_OBJS) | |||
29 | $(LIB_OBJS): $(LIB_H) | 34 | $(LIB_OBJS): $(LIB_H) |
30 | 35 | ||
31 | libapi_dirs: | 36 | libapi_dirs: |
32 | $(QUIET_MKDIR)mkdir -p $(OUTPUT)fs/ | 37 | $(QUIET_MKDIR)mkdir -p $(OUTPUT)fd $(OUTPUT)fs |
33 | 38 | ||
34 | $(OUTPUT)%.o: %.c libapi_dirs | 39 | $(OUTPUT)%.o: %.c libapi_dirs |
35 | $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $< | 40 | $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $< |