|
version 1.3, 1997/07/11 04:09:51
|
version 1.4, 2004/02/17 18:01:13
|
|
|
|
| # | # |
| # $XFree86: utils/Makefile,v 1.2 1997/07/10 06:22:34 dawes Exp $ |
# $XFree86: utils/Makefile,v 1.3 1997/07/11 04:09:51 dawes Exp $ |
| # | # |
| # Makefile for 'extract' | # Makefile for 'extract' |
| # | # |
|
|
|
| extract: build-all | extract: build-all |
| | |
| build-all: build-tar | build-all: build-tar |
| rm -f extract |
rm -f extract extract.exe |
| cp $(TARDIR)/src/tar extract |
cp $(TARDIR)/src/tar extract || \ |
| |
(cp $(TARDIR)/src/tar.exe extract.exe && \ |
| |
cp extract.exe extract) |
| | |
| build-tar: build-zlib | build-tar: build-zlib |
| cd $(TARDIR); $(MAKE) $(MFLAGS) EXTRACFLAGS="-I`pwd`/../zlib -DZLIB_SUPPORT" EXTRALIBS="`pwd`/../zlib/libz.a" SUBDIRS="lib src" all-recursive | cd $(TARDIR); $(MAKE) $(MFLAGS) EXTRACFLAGS="-I`pwd`/../zlib -DZLIB_SUPPORT" EXTRALIBS="`pwd`/../zlib/libz.a" SUBDIRS="lib src" all-recursive |
|
|
|
| cd $(TARDIR); $(SHELL) ./configure --disable-nls | cd $(TARDIR); $(SHELL) ./configure --disable-nls |
| | |
| clean: | clean: |
| rm -f extract |
rm -f extract extract.exe |
| cd $(ZLIBDIR); $(MAKE) $(MFLAGS) clean | cd $(ZLIBDIR); $(MAKE) $(MFLAGS) clean |
| cd $(TARDIR); $(MAKE) $(MFLAGS) clean | cd $(TARDIR); $(MAKE) $(MFLAGS) clean |
| | |