Debian Codegraph @

texk/dvipos/miktex.mak

raw
1 ## miktex.mak: dvipos
2 ## Copyright (C) 2003 Jin-Hwan Cho <[email protected]>
3 ##
4 ## This file is part of dvipos.
5 ##
6 ## dvipos is free software; you can redistribute it and/or modify it
7 ## under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2, or (at your option)
9 ## any later version.
10 ##
11 ## dvipos is distributed in the hope that it will be useful, but
12 ## WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 ## General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with dvipdfmx; if not, write to the Free Software Foundation,
18 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20 miktex_cc_no_runtime_checks = 1
21 miktex_cc_no_warnings = 1
22
23 !include ..\miktex.inc
24
25 objects = \
26 $(outdir)\dvicore.obj \
27 $(outdir)\dvipos.obj \
28 $(outdir)\tfm.obj \
29 $(outdir)\utils.obj \
30
31 sources = \
32 dvicore.c \
33 dvipos.c \
34 tfm.c \
35 utils.c \
36
37 cc_options = $(cflags) $(cdebug) $(cvarsdll) $(cflagspackfunc) \
38 -I. -I$(libdir) -I$(gnulibdir) -I$(kpslibdir) \
39 $(miktexvars)
40
41 .c{$(outdir)\}.obj:
42 !ifdef xxx
43 $(sed) -e "s/^static \(.*\)(/\1(/" $< > _xyz.c
44 $(cc) $(cc_options) -Fo$@ _xyz.c
45 del _xyz.c
46 !else
47 $(cc) $(cc_options) -Fo$(outdir)\ $<
48 !endif
49
50 .cpp{$(outdir)\}.obj:
51 $(cc) $(cc_options) $(cflagseh) -Fo$(outdir)\ $<
52
53 binaries = $(outdir)\dvipos.exe
54
55 all: common-all $(binaries)
56
57 install: common-install install-binaries
58
59 qrt: common-qrt
60
61 # -----------------------------------------------------------------------------
62 # dvipos
63 # -----------------------------------------------------------------------------
64
65 $(outdir)\dvipos.exe: $(outdir) $(objects) \
66 $(miktex_lib) $(kps_lib) $(gnu_lib)
67 $(link) $(conlflags) $(ldebug) \
68 -out:$@ \
69 $(objects) \
70 $(miktex_lib) $(kps_lib) $(gnu_lib) $(conlibsdll)
71
72 #$(outdir)\dvipos.res: $(outdir) dvipos.rc
73 # $(rc) $(rcflags) $(rcvars) -I$(libdir) -Fo$@ dvipos.rc
74
75 # -----------------------------------------------------------------------------
76 # clean-up
77 # -----------------------------------------------------------------------------
78
79 mostlyclean: common-mostlyclean
80
81 clean: common-clean mostlyclean
82
83 distclean: common-distclean clean
84
85 realclean: common-realclean distclean
86
87 # -----------------------------------------------------------------------------
88 # dependencies
89 # -----------------------------------------------------------------------------
90
91 !include ..\common-dependencies.inc
92
93 depend: $(sources)
94 $(MAKEDEPEND1) -I..\libkps $**
95