OSDN Git Service

replace some header files.
[putex/putex.git] / src / texsourc / makefile
index 131e135..5f7a1a6 100644 (file)
@@ -24,9 +24,11 @@ RC = rc
 # CFLAGS=-c -DDOS -DMSDOS -DPHARLAP -DTeX -DMYDEBUG -Ilib -YX -Ox -Ge -Gy -Gf -W4
 # Release version
 # CFLAGS=/c /Ge /Gy /Gf /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG /Ilib /YX
-CFLAGS=/nologo /c /MD /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG
+CFLAGS=/nologo /c /MT /GF /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG \
+       /I"kpathsea"
+# /I"libharu/include" /I"libharu/win32/include"
 # Debugging version
-# CFLAGS=/c /Ge /Gy /Gf /Od /Zi /W4 /DMSDOS /DTeX /DPHARLAP /Ilib /YX 
+# CFLAGS=/c /Ge /Gy /Gf /Od /Zi /W4 /DMSDOS /DTeX /DPHARLAP /Ilib /YX
 
 # NOTE: -Ox => -Ogityb1 -Gs
 
@@ -34,14 +36,16 @@ CFLAGS=/nologo /c /MD /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG
 # LFLAGS=@yandytex.nt /MAP lib\libdos.lib
 # Release version
 # LFLAGS=/MAP lib\libdos.lib
-LFLAGS=/MAP /MACHINE:X86
+LFLAGS=/MAP
+# /MACHINE:X86
 # debugging version
 # LFLAGS=@yandytex.nt /MAP /DEBUG /PDB:yandytex.pdb lib\libdos.lib
 # LFLAGS=/MAP /DEBUG /PDB:yandytex.pdb
 
 objs = texmf.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 yandytex.res
+       tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \
+       yandy_pool.obj yandytex.res md5.obj md5file.obj
 
 # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
 # # LIBHARU
@@ -49,11 +53,19 @@ objs = texmf.obj itex.obj openinou.obj subroute.obj local.obj \
 
 texmf.exe: $(objs) 
        $(LINK) $(LFLAGS) texmf itex openinou subroute local \
-       tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 yandytex.res
+       tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \
+       yandy_pool yandytex.res md5 md5file kpathsea\kpathsea.lib
+#      kpathsea\kpathsea.lib libharu\libhpdf.lib libpng\libpng.lib zlib\zlib.lib
        copy texmf.exe yandytex.exe
        del ..\yandy\bin\texmf.exe
        copy texmf.exe ..\yandy\bin\texmf.exe
 # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
+md5.obj: libmd5\md5.c
+       $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
+
+md5file.obj: md5file.c
+       $(CC) -Ilibmd5 $(CFLAGS) md5file.c
+
 yandytex.res: yandytex.rc
        rc yandytex.rc
 
@@ -109,6 +121,9 @@ tex8.obj: tex8.c \
 tex9.obj: tex9.c \
        texd.h texmf.h texmfmem.h coerce.h lib.h config.h common.h
 
+yandy_pool.obj: yandy_pool.c \
+       texd.h texmf.h texmfmem.h coerce.h lib.h config.h common.h
+
 .SUFFIXES:
 .SUFFIXES: .obj .c