Skip to contentSkip to conversation

dmraid/tools Makefile.in

PATCH [email protected] 1 participant 1 message May 28, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: dmraid
Changes by: [email protected] 2010-05-28 08:37:37

Modified files:
tools : Makefile.in

Log message:
Use SOURCES2 for dmevent_tool compilation

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/tools/Makefile.in.diff?cvsroot=dm&r1=1.9&r2=1.10

tools/Makefile.in +5 -2
@@ -18,6 +18,9 @@
 	commands.c \
 	toollib.c
 
+SOURCES2=\
+	dmevent_tool.c
+
 TARGETS=\
 	dmraid
 
@@ -68,8 +71,8 @@
 dmraid:	$(OBJECTS) $(top_builddir)/lib/libdmraid.a
 	$(CC) -o $@ $(OBJECTS) $(LDFLAGS) -L$(top_builddir)/lib $(DMRAIDLIBS) $(LIBS)
 
-dmevent_tool: $(top_builddir)/lib/libdmraid.a
-	$(CC) -o $@ [email protected] $(INCLUDES) $(LDFLAGS) -L$(top_builddir)/lib \
+dmevent_tool: $(OBJECTS2) $(top_builddir)/lib/libdmraid.a
+	$(CC) -o $@ $(OBJECTS2) $(INCLUDES) $(LDFLAGS) -L$(top_builddir)/lib \
 	  $(DMRAIDLIBS) $(DMEVENTTOOLLIBS) $(LIBS)
 
 install_dmraid_tools: $(TARGETS)