CVSROOT: /cvs/dm Module name: dmraid Changes by: zkabelac@xxxxxxxxxxxxxx 2010-05-28 08:46:04 Modified files: lib : Makefile.in Log message: Use SOURCES2 for dmraid plugin OBJECTS is created by make.tmpl.in Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/Makefile.in.diff?cvsroot=dm&r1=1.9&r2=1.10 --- dmraid/lib/Makefile.in 2010/05/27 19:47:49 1.9 +++ dmraid/lib/Makefile.in 2010/05/28 08:46:04 1.10 @@ -52,7 +52,7 @@ LIBS += -ldl endif -OBJECTS=$(SOURCES:%.c=%.o) +SOURCES2 = events/$(LIB_EVENTS_NAME).c LIB_STATIC=$(top_builddir)/lib/libdmraid.a LIB_EVENTS_NAME=libdmraid-events-isw @@ -74,8 +74,8 @@ all: $(TARGETS) @echo $(TARGETS) $(INSTALL_TARGETS) -$(LIB_EVENTS_SHARED): - $(CC) -o $@ $(INCLUDES) $(CFLAGS) $(LDFLAGS) events/$(LIB_EVENTS_NAME).c \ +$(LIB_EVENTS_SHARED): $(OBJECTS2) + $(CC) -o $@ $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(OBJECTS2) \ -shared -Wl,-soname,$(notdir $@).$(DMRAID_LIB_VERSION) \ $(LIB_SHARED) -ldevmapper-event -lpthread -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel