]> andersk Git - moira.git/blobdiff - clients/mrcheck/Makefile.in
DESTDIR support.
[moira.git] / clients / mrcheck / Makefile.in
index 457e4f1a14f9c32bde0cfd17af1832f204fce092..573b6b721431519fd0315efa025bf7d9eec3db30 100644 (file)
@@ -9,7 +9,7 @@ CFLAGS=@CFLAGS@
 DEFS=@DEFS@
 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
 LDFLAGS=@LDFLAGS@
-LIBS=@LIBS@
+LIBS=../lib/libmrclient.a @LIBS@
 MR_LIBDEP=@MR_LIBDEP@
 INSTALL=@INSTALL@
 INSTALL_PROGRAM=@INSTALL_PROGRAM@
@@ -34,10 +34,13 @@ all: $(TARGET)
 clean:
        rm -f $(OBJS) $(TARGET)
 
+cleandir distclean: clean
+       rm -f Makefile
+
 depend:
 
 install: all
-       $(INSTALL_PROGRAM) mrcheck $(bindir)
+       $(INSTALL_PROGRAM) mrcheck $(DESTDIR)$(bindir)
 
-$(TARGET): $(OBJS) $(MR_LIBDEP)
+$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP)
        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
This page took 0.041574 seconds and 4 git commands to generate.