summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipos/miktex.mak
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/dvipos/miktex.mak
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipos/miktex.mak')
-rw-r--r--Build/source/texk/dvipos/miktex.mak95
1 files changed, 95 insertions, 0 deletions
diff --git a/Build/source/texk/dvipos/miktex.mak b/Build/source/texk/dvipos/miktex.mak
new file mode 100644
index 00000000000..67a0a9c8335
--- /dev/null
+++ b/Build/source/texk/dvipos/miktex.mak
@@ -0,0 +1,95 @@
+## miktex.mak: dvipos
+## Copyright (C) 2003 Jin-Hwan Cho <chofchof@ktug.or.kr>
+##
+## This file is part of dvipos.
+##
+## dvipos is free software; you can redistribute it and/or modify it
+## under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+##
+## dvipos is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with dvipdfmx; if not, write to the Free Software Foundation,
+## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+miktex_cc_no_runtime_checks = 1
+miktex_cc_no_warnings = 1
+
+!include ..\miktex.inc
+
+objects = \
+ $(outdir)\dvicore.obj \
+ $(outdir)\dvipos.obj \
+ $(outdir)\tfm.obj \
+ $(outdir)\utils.obj \
+
+sources = \
+ dvicore.c \
+ dvipos.c \
+ tfm.c \
+ utils.c \
+
+cc_options = $(cflags) $(cdebug) $(cvarsdll) $(cflagspackfunc) \
+ -I. -I$(libdir) -I$(gnulibdir) -I$(kpslibdir) \
+ $(miktexvars)
+
+.c{$(outdir)\}.obj:
+!ifdef xxx
+ $(sed) -e "s/^static \(.*\)(/\1(/" $< > _xyz.c
+ $(cc) $(cc_options) -Fo$@ _xyz.c
+ del _xyz.c
+!else
+ $(cc) $(cc_options) -Fo$(outdir)\ $<
+!endif
+
+.cpp{$(outdir)\}.obj:
+ $(cc) $(cc_options) $(cflagseh) -Fo$(outdir)\ $<
+
+binaries = $(outdir)\dvipos.exe
+
+all: common-all $(binaries)
+
+install: common-install install-binaries
+
+qrt: common-qrt
+
+# -----------------------------------------------------------------------------
+# dvipos
+# -----------------------------------------------------------------------------
+
+$(outdir)\dvipos.exe: $(outdir) $(objects) \
+ $(miktex_lib) $(kps_lib) $(gnu_lib)
+ $(link) $(conlflags) $(ldebug) \
+ -out:$@ \
+ $(objects) \
+ $(miktex_lib) $(kps_lib) $(gnu_lib) $(conlibsdll)
+
+#$(outdir)\dvipos.res: $(outdir) dvipos.rc
+# $(rc) $(rcflags) $(rcvars) -I$(libdir) -Fo$@ dvipos.rc
+
+# -----------------------------------------------------------------------------
+# clean-up
+# -----------------------------------------------------------------------------
+
+mostlyclean: common-mostlyclean
+
+clean: common-clean mostlyclean
+
+distclean: common-distclean clean
+
+realclean: common-realclean distclean
+
+# -----------------------------------------------------------------------------
+# dependencies
+# -----------------------------------------------------------------------------
+
+!include ..\common-dependencies.inc
+
+depend: $(sources)
+ $(MAKEDEPEND1) -I..\libkps $**
+