OPTFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC
CFLAGS = $(OPTFLAGS)
+SHARED_FLAGS = -shared
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
LIBS = libcheckers.so
OBJS = libsg.o checkers.o readsector0.o tur.o directio.o emc_clariion.o hp_sw.o rdac.o
-SHARED_FLAGS = -shared
-
all: $(LIBS)
$(LIBS): $(OBJS)
LIBS = libmultipath.so
CFLAGS += -I$(checkersdir) -I$(libpriodir)
-SHARED_FLAGS += -shared
OBJS = memory.o parser.o vector.o devmapper.o callout.o \
hwtable.o blacklist.o util.o dmparser.o config.o \
libpriohds.so
CFLAGS += -I$(multipathdir)
-SHARED_FLAGS += -shared -fPIC
all: $(LIBS)