]> git.wh0rd.org - dump.git/blobdiff - rmt/Makefile.in
Encrypting rmt
[dump.git] / rmt / Makefile.in
index fa5ee347a2fe9fe01f21166e7aa94711b67f0eb2..a955a6215d29216249616016879c7a2ffc64340e 100644 (file)
@@ -1,7 +1,8 @@
-# $Id: Makefile.in,v 1.7 2002/07/29 12:00:34 stelian Exp $
+# $Id: Makefile.in,v 1.9 2003/04/08 19:52:36 stelian Exp $
 
 top_srcdir=    @top_srcdir@
 srcdir=                @srcdir@
+top_builddir=  ..
 
 @MCONFIG@
 
@@ -15,11 +16,16 @@ SRCS=               rmt.c
 OBJS=          rmt.o
 MAN8=          rmt.8
 
-all::          $(PROG) $(MAN8)
+all::          $(PROG) @ERMT@ $(MAN8)
 
 $(PROG):       $(OBJS) $(DEPLIBS)
        $(LD) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
 
+ermt:  ermt.o cipher.o $(DEPLIBS)
+       $(LD) $(CFLAGS) $(LDFLAGS) -o ermt ermt.o cipher.o $(LIBS) @CRYPTO@
+ermt.o: rmt.c
+       $(CC) -c $(CFLAGS) -DERMT -o ermt.o rmt.c
+
 $(MAN8):               rmt.8.in
        sed -e "s|__DATE__|$(DATE)|g" \
            -e "s|__VERSION__|$(VERSION)|g" $< > $@
@@ -30,7 +36,7 @@ install::     all
        $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
 
 clean::
-       rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
+       rm -f $(PROG) @ERMT@ \#* *.s *.o *.a *~ core rmt.8
 
 distclean::    clean
        rm -f Makefile Makefile.old .depend