OSDN Git Service

removed libmd5.
[putex/putex.git] / src / texsourc / Makefile.win.msvc
index 3c7d2bf..888f241 100644 (file)
@@ -1,98 +1,95 @@
-# Copyright 2007 TeX Users Group.
-# Copyright 2014 Clerk Ma.
-#
-# You may freely use, modify and/or distribute this file.
-
-# Makefile for Y&YTeX
-
-CC = cl
-LINK = link
-RC = rc
-
-CFLAGS=/nologo /c /MT /GF /Gy /Ox /W4 /DMSDOS /DTeX \
-       /I"kpathsea" /I"zlib" /I"libmd5"
-
-LFLAGS=/NOLOGO /MAP
-
-objs = yandytex.obj itex.obj openinou.obj subroute.obj local.obj \
-       tex0.obj tex1.obj tex2.obj tex3.obj tex4.obj \
-       tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \
-       yandy_pool.obj yandytex.res md5.obj yandy_inlines.obj
-
-yandytex.exe: $(objs)
-       $(LINK) $(LFLAGS) yandytex itex openinou subroute local \
-       tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \
-       yandy_pool yandytex.res md5 yandy_inlines \
-       kpathsea\kpathsea.lib zlib\zlib.lib \
-       dvipdfmx\libdvipdfmx.lib
-       del ..\yandy\bin\yandytex.exe
-       copy yandytex.exe ..\yandy\bin\yandytex.exe
-
-md5.obj: libmd5\md5.c
-       $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
-
-yandytex.res: yandytex.rc
-       rc /nologo yandytex.rc
-
-yandytex.obj: yandytex.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-       $(CC) /DINITEX $(CFLAGS) yandytex.c
-
-itex.obj: itex.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-       $(CC) /DINITEX $(CFLAGS) itex.c
-
-openinou.obj: openinou.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-       $(CC) $(CFLAGS) openinou.c
-
-subroute.obj: subroute.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-       $(CC) $(CFLAGS) subroute.c
-
-local.obj: local.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-       $(CC) /DINITEX $(CFLAGS) local.c
-
-tex0.obj: tex0.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex1.obj: tex1.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex2.obj: tex2.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex3.obj: tex3.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex4.obj: tex4.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex5.obj: tex5.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex6.obj: tex6.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex7.obj: tex7.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex8.obj: tex8.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-tex9.obj: tex9.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-yandy_pool.obj: yandy_pool.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-yandy_inlines.obj: yandy_inlines.c \
-       texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
-
-.SUFFIXES:
-.SUFFIXES: .obj .c
-
-c..obj:
-       $(CC) $(CFLAGS) $*.c
-
+# Copyright 2007 TeX Users Group.\r
+# Copyright 2014 Clerk Ma.\r
+#\r
+# You may freely use, modify and/or distribute this file.\r
+#\r
+# Makefile for Y&YTeX (MSVC, tested on VS 2012 and VS 2013)\r
+\r
+CC = cl\r
+LINK = link\r
+RC = rc\r
+\r
+CFLAGS=/nologo /c /MT /GF /Gy /W4 \\r
+       /I"kpathsea" /I"zlib"\r
+\r
+LFLAGS=/NOLOGO /MAP\r
+\r
+objs = yandytex.obj itex.obj openinou.obj subroute.obj local.obj \\r
+       tex0.obj tex1.obj tex2.obj tex3.obj tex4.obj \\r
+       tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \\r
+       pool.obj yandytex.res utils.obj\r
+\r
+yandytex.exe: $(objs)\r
+       $(LINK) $(LFLAGS) yandytex itex openinou subroute local \\r
+       tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \\r
+       pool yandytex.res utils \\r
+       kpathsea\kpathsea.lib zlib\zlib.lib\r
+       del ..\yandy\bin\yandytex.exe\r
+       copy yandytex.exe ..\yandy\bin\yandytex.exe\r
+\r
+yandytex.res: yandytex.rc\r
+       $(RC) /nologo yandytex.rc\r
+\r
+yandytex.obj: yandytex.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+       $(CC) $(CFLAGS) yandytex.c\r
+\r
+itex.obj: itex.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+       $(CC) $(CFLAGS) itex.c\r
+\r
+openinou.obj: openinou.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+       $(CC) $(CFLAGS) openinou.c\r
+\r
+subroute.obj: subroute.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+       $(CC) $(CFLAGS) subroute.c\r
+\r
+local.obj: local.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+       $(CC) $(CFLAGS) local.c\r
+\r
+tex0.obj: tex0.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex1.obj: tex1.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex2.obj: tex2.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex3.obj: tex3.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex4.obj: tex4.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex5.obj: tex5.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex6.obj: tex6.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex7.obj: tex7.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex8.obj: tex8.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+tex9.obj: tex9.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+pool.obj: pool.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+utils.obj: utils.c \\r
+       texd.h yandytex.h memory.h coerce.h macros.h\r
+\r
+.SUFFIXES:\r
+.SUFFIXES: .obj .c\r
+\r
+c..obj:\r
+       $(CC) $(CFLAGS) $*.c\r
+\r
+\r