Skip to content

Commit

Permalink
Remove mk/ folder (mono/mono#18039)
Browse files Browse the repository at this point in the history
The plan to put additional helpers into this directory didn't materialize and we can just inline the one thing we have in common.mk where needed.

Commit migrated from mono/mono@4e8ead7
  • Loading branch information
akoeplinger authored Dec 4, 2019
1 parent c97dc67 commit 0124300
Show file tree
Hide file tree
Showing 32 changed files with 29 additions and 36 deletions.
4 changes: 2 additions & 2 deletions src/mono/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6253,7 +6253,7 @@ fi

# Top level Makefile.am subdirs
if test "x$with_core" = "xonly"; then
MONO_SUBDIRS="mk llvm mono"
MONO_SUBDIRS="llvm mono"
else
if test "x$support_boehm" = "xyes" -a "x$libgc" = "xincluded"; then
mono_subdirs_libgc=external/bdwgc
Expand All @@ -6276,7 +6276,7 @@ else
mono_subdirs_ikvm_native=ikvm-native
fi

MONO_SUBDIRS="mk po $mono_subdirs_libgc llvm mono $mono_subdirs_ikvm_native $mono_subdirs_support data runtime scripts man samples $mono_subdirs_tools $mono_subdirs_docs msvc acceptance-tests"
MONO_SUBDIRS="po $mono_subdirs_libgc llvm mono $mono_subdirs_ikvm_native $mono_subdirs_support data runtime scripts man samples $mono_subdirs_tools $mono_subdirs_docs msvc acceptance-tests"
fi

AC_SUBST(MONO_SUBDIRS)
Expand Down
1 change: 0 additions & 1 deletion src/mono/m4/mono-output.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ AC_DEFUN([AC_MONO_OUTPUT], [
AC_OUTPUT([
Makefile
llvm/Makefile
mk/Makefile
mono/Makefile
mono/btls/Makefile
mono/native/Makefile
Expand Down
3 changes: 0 additions & 3 deletions src/mono/mk/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion src/mono/mk/Makefile.am

This file was deleted.

2 changes: 0 additions & 2 deletions src/mono/mk/common.mk

This file was deleted.

2 changes: 1 addition & 1 deletion src/mono/mono/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

if SUPPORT_SGEN
sgen_dirs = sgen
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/arch/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

DIST_SUBDIRS = x86 ppc sparc arm arm64 s390x amd64 mips riscv

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/arch/amd64/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

EXTRA_DIST = amd64-codegen.h

2 changes: 1 addition & 1 deletion src/mono/mono/arch/arm/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/arch/arm64/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

EXTRA_DIST = arm64-codegen.h codegen-test.c
2 changes: 1 addition & 1 deletion src/mono/mono/arch/mips/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/arch/ppc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

EXTRA_DIST = ppc-codegen.h
2 changes: 1 addition & 1 deletion src/mono/mono/arch/s390x/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/arch/sparc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

EXTRA_DIST = sparc-codegen.h

2 changes: 1 addition & 1 deletion src/mono/mono/arch/x86/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

EXTRA_DIST = x86-codegen.h
2 changes: 1 addition & 1 deletion src/mono/mono/benchmark/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

TEST_PROG=../mini/mono
RUNTIME_ARGS="-O=all"
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/cil/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

# opcode.def is not built by default -- based on timestamps.
# CI does not have the dependencies installed (perl, XML::Parser).
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/dis/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

if !ENABLE_MSVC_ONLY

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/eglib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

if !ENABLE_MSVC_ONLY

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/eglib/test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

EXTRA_DIST = UTF-8.txt UTF-16BE.txt UTF-16LE.txt UTF-32BE.txt UTF-32LE.txt test-eglib.exp

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

if !ENABLE_MSVC_ONLY

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/mini/Makefile.am.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

## Set the C++ linker based on configure settings, see comment in configure.ac
## about why we need to do this.
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/profiler/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

AM_CPPFLAGS = \
-DSUPPRESSION_DIR=\""$(datadir)/mono-$(API_VER)/mono/profiler"\" \
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/sgen/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

if !ENABLE_MSVC_ONLY

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/tests/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

SUBDIRS = gc-descriptors . testing_gac assembly-load-reference llvmonly-mixed fullaot-mixed

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/tests/assembly-load-reference/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

### buildtree stuff

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/tests/gc-descriptors/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/tests/testing_gac/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

### buildtree stuff

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/unit-tests/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono -I$(top_srcdir)/samples $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/utils/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

if !ENABLE_MSVC_ONLY

Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/utils/jemalloc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

#
# Conditional submodule for jemalloc
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/zlib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include $(top_srcdir)/mk/common.mk
MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules

ZLIB_SOURCE = \
adler32.c \
Expand Down

0 comments on commit 0124300

Please sign in to comment.