summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 21:31:54 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 21:31:54 +0000
commit25ecdecc92c55f2dafbb0d5750f8be61982b586b (patch)
tree978dd7185689097a38ae69d10e00d41a7a4cbf35 /ext2fs
parentcee1d892121821cf9d075fa10194016eda74268e (diff)
Formerly Makefile.~7~
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext2fs/Makefile b/ext2fs/Makefile
index 3fde8630..b2025204 100644
--- a/ext2fs/Makefile
+++ b/ext2fs/Makefile
@@ -18,9 +18,9 @@
dir := ext2fs
makemode := server
-SRCS = balloc.c bitmap.c dir.c ext2fs.c getblk.c hyper.c ialloc.c inode.c \
- pager.c pokeloc.c truncate.c getopt.o error.o
-OBJS = $(SRCS:.c=.o) # exec_server_image.o
+SRCS = balloc.c bitmap.c devio.c dir.c ext2fs.c getblk.c hyper.c ialloc.c \
+ inode.c pager.c pokel.c truncate.c
+OBJS = $(SRCS:.c=.o) error.o exec_server_image.o
LCLHDRS = ext2fs.h ext2_fs.h ext2_fs_i.h
DIST_FILES = BROKEN
REMHDRS = ../hurd/diskfs.h ../hurd/ports.h ../hurd/pager.h\
@@ -29,6 +29,7 @@ HURDLIBS = libdiskfs libports libpager libioserver libfshelp libthreads
target = ext2fs
CPPFLAGS += -I../lib
+CPPFLAGS += $(CPPFLAGS-$(notdir $<))
vpath %.c ../lib
include ../Makeconf
@@ -42,3 +43,5 @@ $(OBJS): $(REMHDRS)
$(foreach dir,mkbootfs exec,../$(dir)/%): FORCE
$(MAKE) -C $(@D) $(@F)
+
+CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR