Fix thread unregistration under sgen.
[mono.git] / mono / cil / Makefile.am
index 12141fc56fb2cb72f438d40601116f86b585c4dd..8e2ac944823af7d7a67efed7bc3fd860a4ce070c 100644 (file)
@@ -1,12 +1,12 @@
-
 opcode.def: make-opcodes-def.pl cil-opcodes.xml
-       perl make-opcodes-def.pl < $(srcdir)/cil-opcodes.xml > opcode.def
+       perl $(srcdir)/make-opcodes-def.pl $(srcdir)/cil-opcodes.xml $@.tmp
+       mv $@.tmp $@
 
-defdir = $(includedir)/mono/cil
+defdir = $(includedir)/mono-$(API_VER)/mono/cil
 def_DATA = opcode.def
 
-xmldir = $(datadir)/mono/cil
+xmldir = $(datadir)/mono-$(API_VER)/mono/cil
 xml_DATA = cil-opcodes.xml
 
-EXTRA_DIST=opcode.def make-opcodes-def.pl make-opcode-def.xsl $(xml_DATA) $(def_DATA)
+EXTRA_DIST=tables.def opcode.def make-opcodes-def.pl make-opcode-def.xsl $(xml_DATA) $(def_DATA)