- remove duplicate entry of resolve.c in BLKID_SRC
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 30 Sep 2005 08:25:50 +0000 (08:25 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 30 Sep 2005 08:25:50 +0000 (08:25 -0000)
- use the sourcedir to look for includes rather than the builddir

e2fsprogs/Makefile.in

index f7dbba30f21f187fe89008b64311962233ccc267..5def023f886e9b6eab0fe7691cdc2cadc92035e3 100644 (file)
@@ -7,11 +7,12 @@
 E2FSPROGS_AR:=e2fsprogs.a
 
 E2FSPROGS_DIR:=$(top_builddir)/e2fsprogs
+E2FSPROGS_INC:=$(top_sourcedir)/e2fsprogs
 
-E2FSPROGS_CFLAGS := -I$(E2FSPROGS_DIR) -include $(E2FSPROGS_DIR)/e2fsbb.h
+E2FSPROGS_CFLAGS := -I$(E2FSPROGS_INC) -include $(E2FSPROGS_INC)/e2fsbb.h
 
 BLKID_SRC   := cache.c dev.c devname.c devno.c blkid_getsize.c \
-              probe.c read.c resolve.c save.c tag.c resolve.c
+              probe.c read.c resolve.c save.c tag.c
 BLKID_SRCS  := $(patsubst %,blkid/%, $(BLKID_SRC))
 BLKID_OBJS  := $(patsubst %.c,%.o, $(BLKID_SRCS))