5 RUNCS = ${CS} ${DEBUG_FLAG} -codepage:${CODEPAGE}
8 CORE_SRC = MSymbol.cs MPlist.cs MCharTable.cs MText.cs MDatabase.cs
9 INPUT_SRC = MInputMethod.cs
11 DLL = M17N.dll M17NCore.dll M17NIM.dll XmlExpr.dll
12 EXAMPLE = symbol.exe plist.exe chartab.exe text.exe textprop.exe database.exe \
14 TEST = rearsticky.exe frontsticky.exe bothsticky.exe \
15 sensitive.exe frontsensitive.exe rearsensitive.exe
17 all: ${DLL} ${EXAMPLE} ${TEST}
20 $(RUNCS) -out:$@ -t:library ${M17N_SRC}
22 M17NCore.dll: M17N.dll ${CORE_SRC}
23 $(RUNCS) -out:$@ -t:library -r:M17N.dll ${CORE_SRC}
25 M17NIM.dll: ${INPUT_SRC} M17N.dll M17NCore.dll XmlExpr.dll
26 $(RUNCS) -out:$@ -t:library -r:M17N.dll -r:M17NCore.dll -r:XmlExpr.dll ${INPUT_SRC}
28 XmlExpr.dll: ${XEX_SRC}
29 $(RUNCS) -out:$@ -t:library ${XEX_SRC}
31 input.exe: input.cs M17NIM.dll XmlExpr.dll
32 $(RUNCS) -r:M17N.dll -r:M17NCore -r:XmlExpr -r:M17NIM.dll $<
35 $(RUNCS) -r:M17N.dll -r:M17NCore -r:M17NExpr $<
37 xex.exe: xex.cs XmlExpr.dll
38 $(RUNCS) -r:XmlExpr.dll $<
41 $(RUNCS) -r:M17N.dll -r:M17NCore $<