summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-04-05 00:40:49 +0200
committerNeilBrown <neilb@suse.de>2011-04-05 00:40:49 +0200
commit32367cb5588be10b25c11a69795d18b9af9d2f8c (patch)
tree4c3915c20dee26b54d2f6a6a999a0f13dc63735c /Makefile
parentMove WaitClean from sysfs to Monitor.c (diff)
downloadmdadm-32367cb5588be10b25c11a69795d18b9af9d2f8c.tar.xz
mdadm-32367cb5588be10b25c11a69795d18b9af9d2f8c.zip
split name/number maps into separate file.
This reduced some interdependencies between files. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 6985fc1b..eca11c2b 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,8 @@ MAN4DIR = $(MANDIR)/man4
MAN5DIR = $(MANDIR)/man5
MAN8DIR = $(MANDIR)/man8
-OBJS = mdadm.o config.o policy.o mdstat.o ReadMe.o util.o Manage.o Assemble.o Build.o \
+OBJS = mdadm.o config.o policy.o mdstat.o ReadMe.o util.o maps.o \
+ Manage.o Assemble.o Build.o \
Create.o Detail.o Examine.o Grow.o Monitor.o dlink.o Kill.o Query.o \
Incremental.o \
mdopen.o super0.o super1.o super-ddf.o super-intel.o bitmap.o \
@@ -108,32 +109,24 @@ OBJS = mdadm.o config.o policy.o mdstat.o ReadMe.o util.o Manage.o Assemble.o
OBJSX = restripe.o
-SRCS = mdadm.c config.c policy.c mdstat.c ReadMe.c util.c Manage.c Assemble.c Build.c \
- Create.c Detail.c Examine.c Grow.c Monitor.c dlink.c Kill.c Query.c \
- Incremental.c \
- mdopen.c super0.c super1.c super-ddf.c super-intel.c bitmap.c \
- super-mbr.c super-gpt.c \
- restripe.c sysfs.c sha1.c mapfile.c crc32.c sg_io.c msg.c \
- platform-intel.c probe_roms.c
+SRCS = $(patsubst %.o,%.c,$(OBJS))
INCL = mdadm.h part.h bitmap.h
-MON_OBJS = mdmon.o monitor.o managemon.o util.o mdstat.o sysfs.o config.o policy.o \
+MON_OBJS = mdmon.o monitor.o managemon.o util.o maps.o mdstat.o sysfs.o \
+ config.o policy.o \
Kill.o sg_io.o dlink.o ReadMe.o super0.o super1.o super-intel.o \
super-mbr.o super-gpt.o \
super-ddf.o sha1.o crc32.o msg.o bitmap.o \
platform-intel.o probe_roms.o
-MON_SRCS = mdmon.c monitor.c managemon.c util.c mdstat.c sysfs.c config.c policy.c \
- Kill.c sg_io.c dlink.c ReadMe.c super0.c super1.c super-intel.c \
- super-mbr.c super-gpt.c \
- super-ddf.c sha1.c crc32.c msg.c bitmap.c \
- platform-intel.c probe_roms.c
+MON_SRCS = $(patsubst %.o,%.c,$(MON_OBJS))
STATICSRC = pwgr.c
STATICOBJS = pwgr.o
ASSEMBLE_SRCS := mdassemble.c Assemble.c Manage.c config.c policy.c dlink.c util.c \
+ maps.c \
super0.c super1.c super-ddf.c super-intel.c sha1.c crc32.c sg_io.c mdstat.c \
platform-intel.c probe_roms.c sysfs.c super-mbr.c super-gpt.c
ASSEMBLE_AUTO_SRCS := mdopen.c