summaryrefslogtreecommitdiff
path: root/Build/source/utils/bzip2/win32.mak
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-17 21:16:42 +0000
committerKarl Berry <karl@freefriends.org>2006-01-17 21:16:42 +0000
commita3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (patch)
treef4a8a34f904c1bb86adcc3ae0e14434badc6dbe4 /Build/source/utils/bzip2/win32.mak
parent6c0eafbb1395d426a72a74538e0b2a95e8344ca6 (diff)
utils 1
git-svn-id: svn://tug.org/texlive/trunk@1484 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/bzip2/win32.mak')
-rw-r--r--Build/source/utils/bzip2/win32.mak96
1 files changed, 96 insertions, 0 deletions
diff --git a/Build/source/utils/bzip2/win32.mak b/Build/source/utils/bzip2/win32.mak
new file mode 100644
index 00000000000..dc0c2089306
--- /dev/null
+++ b/Build/source/utils/bzip2/win32.mak
@@ -0,0 +1,96 @@
+################################################################################
+#
+# Makefile : Bzip2
+# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
+# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
+# Time-stamp: <04/03/14 19:28:04 popineau>
+#
+################################################################################
+root_srcdir = ..\..
+!ifdef DEVELOPMENT
+INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
+!else
+INCLUDE=$(INCLUDE);$(root_srcdir)\texk
+!endif
+
+USE_GNUW32 = 1
+USE_BZIP2 = 1
+MAKE_BZIP2 = 1
+
+!include <msvc/common.mak>
+
+programs = $(bzip2dll) $(objdir)\bzip2.exe $(objdir)\bzip2recover.exe
+libfiles = $(bzip2lib)
+includefiles = bzlib.h
+manfiles = bzip2.1
+infofiles = manual.info
+pdfdocfiles = manual.pdf
+docsubdir = bzip2
+installinfoflags = --entry="* Bzip2 (bzip2): An enhance compressor"\
+ --section="Miscellaneous"
+
+objects= $(objdir)\blocksort.obj \
+ $(objdir)\huffman.obj \
+ $(objdir)\crctable.obj \
+ $(objdir)\randtable.obj \
+ $(objdir)\compress.obj \
+ $(objdir)\decompress.obj \
+ $(objdir)\bzlib.obj
+
+default: all
+
+all: $(objdir) $(libfiles) $(programs)
+
+lib: $(objdir) $(libfiles)
+
+!ifdef BZIP2_DLL
+
+$(bzip2lib): $(objdir) $(objects)
+ $(archive) /DEF $(objects)
+
+$(bzip2dll): $(bzip2lib) $(objects) $(objdir)\bz2lib.res $(gnuw32lib)
+ $(link_dll) $(**) $(bzip2lib:.lib=.exp) $(conlibs)
+!else
+
+$(bzip2lib): $(objdir) $(objects)
+ $(archive) $(objects)
+!endif
+
+$(objdir)\bzip2.exe: $(objdir)\bzip2.obj $(bzip2lib)
+ $(link) $(**) $(setargvobj) $(conlibs)
+
+$(objdir)\bzip2recover.exe: $(objdir)\bzip2recover.obj $(bzip2lib)
+ $(link) $(**) $(setargvobj) $(conlibs)
+
+!include <msvc/config.mak>
+!include <msvc/install.mak>
+
+makeinfo_flags = $(makeinfo_flags) --force
+
+install:: install-exec install-lib install-include
+
+test: $(objdir)\bzip2.exe
+ @type words1
+ .\$(objdir)\bzip2 -1 < sample1.ref > sample1.rb2
+ .\$(objdir)\bzip2 -2 < sample2.ref > sample2.rb2
+ .\$(objdir)\bzip2 -d < sample1.bz2 > sample1.tst
+ .\$(objdir)\bzip2 -d < sample2.bz2 > sample2.tst
+ @type words2
+ fc sample1.bz2 sample1.rb2
+ fc sample2.bz2 sample2.rb2
+ fc sample1.tst sample1.ref
+ fc sample2.tst sample2.ref
+ @type words3
+
+!include <msvc/clean.mak>
+
+clean::
+ -@$(del) sample1.rb2 sample2.rb2 sample1.tst sample2.tst
+
+!include <msvc/rdepend.mak>
+!include "./depend.mak"
+
+#
+# Local Variables:
+# mode: makefile
+# End: \ No newline at end of file