| 1 |
## miktex.mak: dvipng |
| 2 |
## |
| 3 |
## Copyright (C) 2004 Christian Schenk <[email protected]> |
| 4 |
## |
| 5 |
## This file is free software; you can redistribute it and/or modify |
| 6 |
## it under the terms of the GNU General Public License as published |
| 7 |
## by the Free Software Foundation; either version 2, or (at your |
| 8 |
## option) any later version. |
| 9 |
## |
| 10 |
## This file is distributed in the hope that it will be useful, but |
| 11 |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
## General Public License for more details. |
| 14 |
## |
| 15 |
## You should have received a copy of the GNU General Public License |
| 16 |
## along with this file; if not, write to the Free Software |
| 17 |
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 18 |
## 02110-1301 USA. |
| 19 |
|
| 20 |
miktex_cc_no_warnings = 1 |
| 21 |
miktex_cc_disable_optimization = 1 |
| 22 |
|
| 23 |
!include ..\miktex.inc |
| 24 |
|
| 25 |
objects = \ |
| 26 |
$(outdir)\color.obj \ |
| 27 |
$(outdir)\draw.obj \ |
| 28 |
$(outdir)\dvi.obj \ |
| 29 |
$(outdir)\dvipng.obj \ |
| 30 |
$(outdir)\font.obj \ |
| 31 |
$(outdir)\misc.obj \ |
| 32 |
$(outdir)\papersiz.obj \ |
| 33 |
$(outdir)\pk.obj \ |
| 34 |
$(outdir)\ppagelist.obj \ |
| 35 |
$(outdir)\set.obj \ |
| 36 |
$(outdir)\special.obj \ |
| 37 |
$(outdir)\vf.obj \ |
| 38 |
$(wrapper_obj) \ |
| 39 |
|
| 40 |
sources = \ |
| 41 |
color.c \ |
| 42 |
draw.c \ |
| 43 |
dvi.c \ |
| 44 |
dvipng.c \ |
| 45 |
font.c \ |
| 46 |
misc.c \ |
| 47 |
papersiz.c \ |
| 48 |
pk.c \ |
| 49 |
ppagelist.c \ |
| 50 |
set.c \ |
| 51 |
special.c \ |
| 52 |
vf.c \ |
| 53 |
|
| 54 |
extra_cdefines = \ |
| 55 |
-Dalloca=_alloca \ |
| 56 |
-DUSE_MIKTEX_EXIT \ |
| 57 |
|
| 58 |
extra_cincludes = \ |
| 59 |
-I$(gdlibdir) \ |
| 60 |
-I$(kpslibdir) \ |
| 61 |
|
| 62 |
.c{$(outdir)\}.obj: |
| 63 |
$(cc) $(cstandard) \ |
| 64 |
$(extra_cdefines) \ |
| 65 |
$(extra_cincludes) \ |
| 66 |
$(ccopt_output_directory)$(outdir)\ $< |
| 67 |
|
| 68 |
binaries = $(outdir)\dvipng.exe |
| 69 |
|
| 70 |
all: common-all $(binaries) |
| 71 |
|
| 72 |
install: common-install install-binaries |
| 73 |
|
| 74 |
qrt: common-qrt |
| 75 |
|
| 76 |
# ----------------------------------------------------------------------------- |
| 77 |
# dvipng |
| 78 |
# ----------------------------------------------------------------------------- |
| 79 |
|
| 80 |
libs = \ |
| 81 |
$(miktex_lib) \ |
| 82 |
$(gd_lib) \ |
| 83 |
$(kps_lib) \ |
| 84 |
$(gnu_lib) \ |
| 85 |
$(texmf_lib) \ |
| 86 |
|
| 87 |
$(outdir)\dvipng.exe: \ |
| 88 |
$(outdir) \ |
| 89 |
$(objects) \ |
| 90 |
$(libs) \ |
| 91 |
$(outdir)\dvipng.res \ |
| 92 |
|
| 93 |
$(link) $(lstandard) \ |
| 94 |
-out:$@ \ |
| 95 |
$(objects) \ |
| 96 |
$(libs) \ |
| 97 |
$(outdir)\dvipng.res \ |
| 98 |
|
| 99 |
$(outdir)\dvipng.res: \ |
| 100 |
$(libdir)\miktex-version.h \ |
| 101 |
$(outdir) \ |
| 102 |
dvipng-version.h \ |
| 103 |
dvipng.rc \ |
| 104 |
|
| 105 |
$(rc) $(rcstandard) $(rcopt_output_file)$@ dvipng.rc |
| 106 |
|
| 107 |
# ----------------------------------------------------------------------------- |
| 108 |
# clean-up |
| 109 |
# ----------------------------------------------------------------------------- |
| 110 |
|
| 111 |
mostlyclean: common-mostlyclean |
| 112 |
|
| 113 |
clean: common-clean mostlyclean |
| 114 |
|
| 115 |
distclean: common-distclean clean |
| 116 |
|
| 117 |
realclean: common-realclean distclean |
| 118 |
|
| 119 |
# ----------------------------------------------------------------------------- |
| 120 |
# dependencies |
| 121 |
# ----------------------------------------------------------------------------- |
| 122 |
|
| 123 |
!include ..\common-dependencies.inc |
| 124 |
|
| 125 |
depend: $(sources) |
| 126 |
$(MAKEDEPEND1) $(extra_cincludes) $(extra_cdefines) $(sources) |
| 127 |
|
| 128 |
# DO NOT DELETE |
| 129 |
|
| 130 |
$(outdir)\color.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 131 |
$(outdir)\color.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 132 |
$(outdir)\color.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 133 |
$(outdir)\color.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 134 |
$(outdir)\color.obj: ..\lib\miktex-features.h commands.h |
| 135 |
$(outdir)\draw.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 136 |
$(outdir)\draw.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 137 |
$(outdir)\draw.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 138 |
$(outdir)\draw.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 139 |
$(outdir)\draw.obj: ..\lib\miktex-features.h commands.h |
| 140 |
$(outdir)\dvi.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 141 |
$(outdir)\dvi.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 142 |
$(outdir)\dvi.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 143 |
$(outdir)\dvi.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 144 |
$(outdir)\dvi.obj: ..\lib\miktex-features.h commands.h ..\libgnu\gnu-miktex.h |
| 145 |
$(outdir)\dvipng.obj: dvipng.h config.h .\inttypes.h |
| 146 |
$(outdir)\dvipng.obj: $(gdlibdir)\gd.h $(gdlibdir)\gd_io.h |
| 147 |
$(outdir)\dvipng.obj: $(gdlibdir)\gdfx.h |
| 148 |
$(outdir)\dvipng.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 149 |
$(outdir)\dvipng.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 150 |
$(outdir)\dvipng.obj: ..\lib\miktex-features.h commands.h |
| 151 |
$(outdir)\font.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 152 |
$(outdir)\font.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 153 |
$(outdir)\font.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 154 |
$(outdir)\font.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 155 |
$(outdir)\font.obj: ..\lib\miktex-features.h commands.h |
| 156 |
$(outdir)\misc.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 157 |
$(outdir)\misc.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 158 |
$(outdir)\misc.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 159 |
$(outdir)\misc.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 160 |
$(outdir)\misc.obj: ..\lib\miktex-features.h commands.h |
| 161 |
$(outdir)\misc.obj: ..\libgnu\gnu-miktex.h |
| 162 |
$(outdir)\papersiz.obj: dvipng.h config.h .\inttypes.h |
| 163 |
$(outdir)\papersiz.obj: $(gdlibdir)\gd.h |
| 164 |
$(outdir)\papersiz.obj: $(gdlibdir)\gd_io.h |
| 165 |
$(outdir)\papersiz.obj: $(gdlibdir)\gdfx.h |
| 166 |
$(outdir)\papersiz.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 167 |
$(outdir)\papersiz.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 168 |
$(outdir)\papersiz.obj: ..\lib\miktex-features.h commands.h |
| 169 |
$(outdir)\pk.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 170 |
$(outdir)\pk.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 171 |
$(outdir)\pk.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 172 |
$(outdir)\pk.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 173 |
$(outdir)\pk.obj: ..\lib\miktex-features.h commands.h |
| 174 |
$(outdir)\ppagelist.obj: dvipng.h config.h .\inttypes.h |
| 175 |
$(outdir)\ppagelist.obj: $(gdlibdir)\gd.h |
| 176 |
$(outdir)\ppagelist.obj: $(gdlibdir)\gd_io.h |
| 177 |
$(outdir)\ppagelist.obj: $(gdlibdir)\gdfx.h |
| 178 |
$(outdir)\ppagelist.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 179 |
$(outdir)\ppagelist.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 180 |
$(outdir)\ppagelist.obj: ..\lib\miktex-features.h commands.h |
| 181 |
$(outdir)\set.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 182 |
$(outdir)\set.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 183 |
$(outdir)\set.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 184 |
$(outdir)\set.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 185 |
$(outdir)\set.obj: ..\lib\miktex-features.h commands.h |
| 186 |
$(outdir)\special.obj: dvipng.h config.h .\inttypes.h |
| 187 |
$(outdir)\special.obj: $(gdlibdir)\gd.h $(gdlibdir)\gd_io.h |
| 188 |
$(outdir)\special.obj: $(gdlibdir)\gdfx.h |
| 189 |
$(outdir)\special.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 190 |
$(outdir)\special.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 191 |
$(outdir)\special.obj: ..\lib\miktex-features.h commands.h |
| 192 |
$(outdir)\vf.obj: dvipng.h config.h .\inttypes.h $(gdlibdir)\gd.h |
| 193 |
$(outdir)\vf.obj: $(gdlibdir)\gd_io.h $(gdlibdir)\gdfx.h |
| 194 |
$(outdir)\vf.obj: $(kpslibdir)\kpathsea\kpathsea.h |
| 195 |
$(outdir)\vf.obj: $(kpslibdir)\web2c-miktex.h ..\lib\miktex.h |
| 196 |
$(outdir)\vf.obj: ..\lib\miktex-features.h commands.h |