diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 23:20:09 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 23:20:09 +0000 |
commit | 1da0420296422759ceecd7086b1f24534738f44b (patch) | |
tree | 7c7465be71e13204feaed18259b18898d29813b9 | |
parent | b5f326ec78a42d0e6e7c306a9d6cbadefe9d5e08 (diff) | |
download | busybox-w32-1da0420296422759ceecd7086b1f24534738f44b.tar.gz busybox-w32-1da0420296422759ceecd7086b1f24534738f44b.tar.bz2 busybox-w32-1da0420296422759ceecd7086b1f24534738f44b.zip |
This makefile was a mess. Fix it to work as intended.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@10299 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | e2fsprogs/Makefile.in | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/e2fsprogs/Makefile.in b/e2fsprogs/Makefile.in index f4137e9a4..d9856a214 100644 --- a/e2fsprogs/Makefile.in +++ b/e2fsprogs/Makefile.in | |||
@@ -23,22 +23,22 @@ E2FSPROGS_DIR:=$(top_builddir)/e2fsprogs/ | |||
23 | endif | 23 | endif |
24 | srcdir=$(top_srcdir)/e2fsprogs | 24 | srcdir=$(top_srcdir)/e2fsprogs |
25 | 25 | ||
26 | |||
27 | E2P_SRC:=fgetsetflags.c fgetsetversion.c pf.c iod.c | ||
28 | E2P_SRCS:=$(patsubst %,e2p/%, $(E2P_SRC)) | ||
29 | E2P_OBJS=$(patsubst %.c,%.o, $(E2P_SRCS)) | ||
30 | |||
26 | E2FSPROGS-:= | 31 | E2FSPROGS-:= |
27 | E2FSPROGS-$(CONFIG_CHATTR) += chattr.o e2p.o | 32 | E2FSPROGS-$(CONFIG_CHATTR) += chattr.o $(E2P_OBJS) |
28 | E2FSPROGS-$(CONFIG_LSATTR) += lsattr.o e2p.o | 33 | E2FSPROGS-$(CONFIG_LSATTR) += lsattr.o $(E2P_OBJS) |
29 | 34 | ||
30 | libraries-y+=$(E2FSPROGS_DIR)$(E2FSPROGS_AR) | 35 | libraries-y+=$(E2FSPROGS_DIR)$(E2FSPROGS_AR) |
31 | 36 | ||
37 | |||
32 | $(E2FSPROGS_DIR)$(E2FSPROGS_AR): $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y)) | 38 | $(E2FSPROGS_DIR)$(E2FSPROGS_AR): $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y)) |
33 | $(AR) -ro $@ $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y)) | 39 | $(AR) -ro $@ $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y)) |
34 | 40 | ||
35 | $(E2FSPROGS_DIR)%.o: $(srcdir)/%.c | 41 | $(E2FSPROGS_DIR)%.o: $(srcdir)/%.c |
36 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< | 42 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DHAVE_ERRNO_H=1 -DHAVE_UNISTD_H=1 \ |
37 | 43 | -DHAVE_EXT2_IOCTLS=1 -DHAVE_EXT2_IOCTLS=1 -c -o $@ $< | |
38 | E2P_SRC_LIST := \ | 44 | |
39 | fgetsetflags.c fgetsetversion.c \ | ||
40 | pf.c iod.c | ||
41 | E2P_SRC := $(patsubst %, $(E2FSPROGS_DIR)/e2p/%, $(E2P_SRC_LIST)) | ||
42 | $(E2FSPROGS_DIR)e2p.o: $(E2P_SRC) | ||
43 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ -c $(E2P_SRC) \ | ||
44 | -DHAVE_ERRNO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_EXT2_IOCTLS=1 -DHAVE_EXT2_IOCTLS=1 | ||