Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer...
[mono.git] / mono / arch / arm / Makefile.am
index afce5cd673d534f44bad8b6feda31a95e319b39c..86784c0f8794b0d2b42a96bfc0c7526820573a80 100644 (file)
@@ -1,22 +1,32 @@
 
-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
 
 noinst_LTLIBRARIES = libmonoarch-arm.la
 
-BUILT_SOURCES = arm_dpimacros.h
+BUILT_SOURCES = arm_dpimacros.h arm_fpamacros.h arm_vfpmacros.h
 
 
 libmonoarch_arm_la_SOURCES = $(BUILT_SOURCES) \
-       tramp.c \
        arm-codegen.c \
        arm-codegen.h \
        arm-dis.c \
        arm-dis.h
 
 arm_dpimacros.h: dpiops.sh mov_macros.th dpi_macros.th cmp_macros.th
-       bash ./dpiops.sh
+       (cd $(srcdir); bash ./dpiops.sh) > $@t
+       mv $@t $@
+
+arm_fpamacros.h: fpaops.sh fpam_macros.th fpa_macros.th
+       (cd $(srcdir); bash ./fpaops.sh) > $@t
+       mv $@t $@
+
+arm_vfpmacros.h: vfpops.sh vfpm_macros.th vfp_macros.th
+       (cd $(srcdir); bash ./vfpops.sh) > $@t
+       mv $@t $@
 
 CLEANFILES = $(BUILT_SOURCES)
 
-EXTRA_DIST = dpiops.sh mov_macros.th dpi_macros.th cmp_macros.th
+EXTRA_DIST = dpiops.sh mov_macros.th dpi_macros.th cmp_macros.th \
+       fpam_macros.th fpa_macros.th arm-fpa-codegen.h fpaops.sh \
+       vfpm_macros.th vfp_macros.th arm-vfp-codegen.h vfpops.sh