1 include ../Makefile.inc
3 DEVLIB := libmpathcmd.so
4 CFLAGS += $(LIB_CFLAGS)
9 include $(TOPDIR)/rules.mk
12 $(Q)$(INSTALL_PROGRAM) -d $(DESTDIR)$(syslibdir)
13 $(Q)$(INSTALL_PROGRAM) -m 755 $(LIBS) $(DESTDIR)$(syslibdir)/$(LIBS)
14 $(Q)$(LN) $(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB)
15 $(Q)$(INSTALL_PROGRAM) -d $(DESTDIR)$(includedir)
16 $(Q)$(INSTALL_PROGRAM) -m 644 mpath_cmd.h $(DESTDIR)$(includedir)
19 $(Q)$(RM) $(DESTDIR)$(syslibdir)/$(LIBS)
20 $(Q)$(RM) $(DESTDIR)$(syslibdir)/$(DEVLIB)
21 $(Q)$(RM) $(DESTDIR)$(includedir)/mpath_cmd.h
24 $(Q)$(RM) core *.a *.o *.so *.so.* *.abi $(NV_VERSION_SCRIPT)
26 include $(wildcard $(OBJS:.o=.d))
30 $(Q)$(RM) $(OBJS:.o=.d)