diff options
Diffstat (limited to 'Build/source/libs/md5/win32.mak')
-rw-r--r-- | Build/source/libs/md5/win32.mak | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/Build/source/libs/md5/win32.mak b/Build/source/libs/md5/win32.mak new file mode 100644 index 00000000000..2c87be7f248 --- /dev/null +++ b/Build/source/libs/md5/win32.mak @@ -0,0 +1,66 @@ +################################################################################ +# +# Makefile : Md5 +# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr> +# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources +# Time-stamp: <03/07/22 05:14:54 popineau> +# +################################################################################ +root_srcdir=..\.. +!ifdef DEVELOPMENT +INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development +!else +INCLUDE=$(INCLUDE);$(root_srcdir)\texk +!endif + +USE_MD5 = 1 +MAKE_MD5 = 1 +USE_GNUW32 = 1 + +!include <msvc/common.mak> + +programs = $(md5dll) +libfiles = $(md5lib) +includefiles = md5.h +manfiles = +objects = \ + $(objdir)\md5.obj + +default: all + +all: $(objdir) $(md5) $(programs) + +lib: $(objdir) $(md5) + +!ifdef MD5_DLL +DEFS = $(DEFS) -DMAKE_MD5_DLL + +md5def = $(library_prefix)md5.def + +$(md5def): md5.def + sed -e "/^NAME/s/^.*$$/NAME $(library_prefix)md5.dll/" < $(**) > $@ + +$(md5lib): $(md5def) $(objects) + $(archive) /DEF $(objects) + +$(md5dll): $(objects) $(objdir)\md5.res $(gnuw32lib) + $(link_dll) $(objects) $(md5lib:.lib=.exp) $(objdir)\md5.res $(conlibs) $(gnuw32lib) +!else +$(md5lib): $(objects) + $(archive) $(objects) +!endif + +!include <msvc/config.mak> +!include <msvc/install.mak> + +install:: install-exec install-lib install-include + +!include <msvc/clean.mak> + +!include <msvc/rdepend.mak> +!include "./depend.mak" + +# +# Local Variables: +# mode: makefile +# End: |