diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-10 16:51:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-10 16:51:06 +0000 |
commit | 6bbcb6d005d8788677d5e132889de498d5fd62fb (patch) | |
tree | ae6455b860725a73219151172af2064695938b27 /Build/source/texk/dvipos/miktex.mak | |
parent | 906465a305515a397c4957e7241dfd57a0fcb9fc (diff) |
include dvipos for context
git-svn-id: svn://tug.org/texlive/trunk@3293 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipos/miktex.mak')
-rw-r--r-- | Build/source/texk/dvipos/miktex.mak | 95 |
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 $** + |