]> andersk Git - moira.git/blobdiff - clients/mrtest/Makefile.in
DESTDIR support.
[moira.git] / clients / mrtest / Makefile.in
index ec225f284eb21311797cfec4b5b61fe66bcdd556..592b662f770d7591dd0cbd3401c13ff65f016ee9 100644 (file)
@@ -9,7 +9,7 @@ CFLAGS=@CFLAGS@
 DEFS=@DEFS@
 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
 LDFLAGS=@LDFLAGS@
-LIBS=@READLINE_LIBS@ @LIBS@
+LIBS=../lib/libmrclient.a @READLINE_LIBS@ @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) mrtest $(bindir)
+       $(INSTALL_PROGRAM) mrtest $(DESTDIR)$(bindir)
 
-$(TARGET): $(OBJS) $(MR_LIBDEP)
+$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP)
        $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
This page took 0.034645 seconds and 4 git commands to generate.