| 29 |
rm -f *.o $(OUTFILE) search core *.mo |
rm -f *.o $(OUTFILE) search core *.mo |
| 30 |
|
|
| 31 |
distclean: clean |
distclean: clean |
| 32 |
rm -f Makefile.settings config.h |
rm -f Makefile.settings config.h axel-*.tar axel-*.tar.gz axel-*.tar.bz2 |
| 33 |
|
|
| 34 |
install-man: |
install-man: |
| 35 |
mkdir -p $(DESTDIR)$(MANDIR)/man1/ |
mkdir -p $(DESTDIR)$(MANDIR)/man1/ |
| 48 |
### MAIN PROGRAM |
### MAIN PROGRAM |
| 49 |
|
|
| 50 |
$(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o |
$(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o |
| 51 |
$(CC) axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o -o $(OUTFILE) $(LFLAGS) |
$(CC) *.o -o $(OUTFILE) $(LFLAGS) |
| 52 |
ifndef DEBUG |
ifndef DEBUG |
| 53 |
-$(STRIP) $(OUTFILE) |
-$(STRIP) $(OUTFILE) |
| 54 |
endif |
endif |
| 63 |
uninstall-bin: |
uninstall-bin: |
| 64 |
rm -f $(BINDIR)/$(OUTFILE) |
rm -f $(BINDIR)/$(OUTFILE) |
| 65 |
|
|
| 66 |
tar: distclean |
tar: |
| 67 |
x=`pwd | sed -e 's/\/.*\///'`; \ |
version=$$(sed -n 's/#define AXEL_VERSION_STRING[ \t]*"\([^"]*\)"/\1/p' < axel.h) && \ |
| 68 |
cd ..; \ |
tar --create "--file=axel-$${version}.tar" --exclude-vcs -- *.c *.h *.po configure Makefile axel.1 gui CHANGES COPYING CREDITS README && \ |
| 69 |
tar czf $$x.tar.gz $$x |
gzip --best < "axel-$${version}.tar" > "axel-$${version}.tar.gz" && \ |
| 70 |
|
bzip2 --best < "axel-$${version}.tar" > "axel-$${version}.tar.bz2" |
| 71 |
|
|
| 72 |
|
|
| 73 |
### I18N FILES |
### I18N FILES |