summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2005-12-02 20:30:39 +0000
committerDavid Cantrell <dcantrell@redhat.com>2005-12-02 20:30:39 +0000
commit04874126331e9c4264318d867c9423ce2c89d34e (patch)
tree1aaa49967e8622aa637a67e8a518dbc08b7dd7a7 /loader2
parentf05666e7798772e4573efe15d0735e9d3a47d35a (diff)
downloadanaconda-04874126331e9c4264318d867c9423ce2c89d34e.tar.gz
anaconda-04874126331e9c4264318d867c9423ce2c89d34e.tar.xz
anaconda-04874126331e9c4264318d867c9423ce2c89d34e.zip
Added a checkisomd5 target. Easier to test newt changes this way.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/loader2/Makefile b/loader2/Makefile
index 09875cd81..be1a359de 100644
--- a/loader2/Makefile
+++ b/loader2/Makefile
@@ -129,11 +129,18 @@ loader: loader.o $(OBJS) $(NETOBJS)
clean:
rm -f *.o *~ .depend init ctype.c mkctype \
- loader
+ loader checkisomd5
depend: $(CTYPEDEP)
$(CPP) $(CFLAGS) -DHAVE_CONFIG_H -M $(SOURCES) > .depend
+checkisomd5: depend mediacheck.c log.c md5.c
+ $(CC) -DTESTING $(CFLAGS) -o mediacheck.o -c mediacheck.c
+ $(CC) -DTESTING $(CFLAGS) -o log.o -c log.c
+ $(CC) -DTESTING $(CFLAGS) -o md5.o -c md5.c
+ $(CC) -g $(STATIC) -o checkisomd5 mediacheck.o log.o md5.o \
+ $(NEWTLIB) $(SLANGLIB)
+
install: all
mkdir -p $(DESTDIR)/$(RUNTIMEDIR)/loader
for n in $(BINS); do \