From 30ce673d8a2223bbaf6ec8dca6dedf4c024ea974 Mon Sep 17 00:00:00 2001 From: Hui Peng Date: Sat, 27 Feb 2021 23:47:05 -0500 Subject: [PATCH] Remove unneeded Makefiles --- lib/CUDD/Makefile | 22 ---------------------- lib/MSSA/Makefile | 24 ------------------------ lib/MTA/Makefile | 23 ----------------------- lib/Makefile | 13 ------------- lib/MemoryModel/Makefile | 21 --------------------- lib/SABER/Makefile | 23 ----------------------- lib/Util/Makefile | 21 --------------------- lib/WPA/Makefile | 24 ------------------------ tools/Example/Makefile | 27 --------------------------- tools/Makefile | 13 ------------- tools/SABER/Makefile | 27 --------------------------- tools/WPA/Makefile | 27 --------------------------- 12 files changed, 265 deletions(-) delete mode 100644 lib/CUDD/Makefile delete mode 100644 lib/MSSA/Makefile delete mode 100644 lib/MTA/Makefile delete mode 100644 lib/Makefile delete mode 100644 lib/MemoryModel/Makefile delete mode 100644 lib/SABER/Makefile delete mode 100644 lib/Util/Makefile delete mode 100644 lib/WPA/Makefile delete mode 100644 tools/Example/Makefile delete mode 100644 tools/Makefile delete mode 100644 tools/SABER/Makefile delete mode 100644 tools/WPA/Makefile diff --git a/lib/CUDD/Makefile b/lib/CUDD/Makefile deleted file mode 100644 index 2d3fce65e..000000000 --- a/lib/CUDD/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -## note that, use -DSIZEOF_VOID_P=8 -DSIZEOF_LONG=8 if this is an x86_64 machine -CFLAGS=-O3 -w -DHAVE_IEEE_754 -DSIZEOF_VOID_P=8 -DSIZEOF_LONG=8 -# -# Give the name of a library. This will build a dynamic version. -# - -#LIBRARYNAME=libdvf -LIBRARYNAME=cudd - -BUILD_ARCHIVE := 1 - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/lib/MSSA/Makefile b/lib/MSSA/Makefile deleted file mode 100644 index 0d3cb02d9..000000000 --- a/lib/MSSA/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# - -#LIBRARYNAME=libdvf -LIBRARYNAME=libmssa -USEDLIBS = ptautil.a cudd.a - -BUILD_ARCHIVE := 1 -SHARED_LIBRARY = 1 -LOADABLE_MODULE := 1 - - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/lib/MTA/Makefile b/lib/MTA/Makefile deleted file mode 100644 index 0c459cbab..000000000 --- a/lib/MTA/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# - -LIBRARYNAME=libmta - -USEDLIBS = wpa.a mssa.a mem.a ptautil.a cudd.a - -BUILD_ARCHIVE := 1 -SHARED_LIBRARY = 1 -LOADABLE_MODULE := 1 - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/lib/Makefile b/lib/Makefile deleted file mode 100644 index 6692956e7..000000000 --- a/lib/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -##===- projects/sample/lib/Makefile ------------------------*- Makefile -*-===## - -# -# Relative path to the top of the source tree. -# -LEVEL=.. - -# -# List all of the subdirectories that we will compile. -# -DIRS=CUDD Util MemoryModel MSSA WPA SABER MTA - -include $(LEVEL)/Makefile.common diff --git a/lib/MemoryModel/Makefile b/lib/MemoryModel/Makefile deleted file mode 100644 index d448879a1..000000000 --- a/lib/MemoryModel/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# - -LIBRARYNAME=mem -USEDLIBS = ptautil.a - -BUILD_ARCHIVE := 1 - - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/lib/SABER/Makefile b/lib/SABER/Makefile deleted file mode 100644 index 35dcc8b8c..000000000 --- a/lib/SABER/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# - -LIBRARYNAME=libsaber - -USEDLIBS = wpa.a mssa.a mem.a ptautil.a cudd.a - -BUILD_ARCHIVE := 1 -SHARED_LIBRARY = 1 -LOADABLE_MODULE := 1 - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/lib/Util/Makefile b/lib/Util/Makefile deleted file mode 100644 index 5070b8043..000000000 --- a/lib/Util/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# - -LIBRARYNAME=ptautil -USEDLIBS=cudd.a - -BUILD_ARCHIVE := 1 - - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/lib/WPA/Makefile b/lib/WPA/Makefile deleted file mode 100644 index ff232f725..000000000 --- a/lib/WPA/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# - -#LIBRARYNAME=libdvf -LIBRARYNAME=libwpa - -USEDLIBS = mssa.a mem.a ptautil.a cudd.a - -BUILD_ARCHIVE := 1 -SHARED_LIBRARY = 1 -LOADABLE_MODULE := 1 - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/tools/Example/Makefile b/tools/Example/Makefile deleted file mode 100644 index 3b79160ec..000000000 --- a/tools/Example/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of the tool. -# -TOOLNAME=mta - -# -# List libraries that we'll need -# We use LIBS because sample is a dynamic library. a -# !!Should always consider the dependence of each library, the parent library should place at the end of the line -USEDLIBS = mta.a wpa.a mssa.a - -LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts ipo codegen - -#LINK_COMPONENTS = all - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common - diff --git a/tools/Makefile b/tools/Makefile deleted file mode 100644 index 415362f79..000000000 --- a/tools/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -##===- projects/sample/tools/Makefile ----------------------*- Makefile -*-===## - -# -# Relative path to the top of the source tree. -# -LEVEL=.. - -# -# List all of the subdirectories that we will compile. -# -DIRS= WPA SABER MTA - -include $(LEVEL)/Makefile.common diff --git a/tools/SABER/Makefile b/tools/SABER/Makefile deleted file mode 100644 index b8d1d4749..000000000 --- a/tools/SABER/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of the tool. -# -TOOLNAME=saber - -# -# List libraries that we'll need -# We use LIBS because sample is a dynamic library. a -# !!Should always consider the dependence of each library, the parent library should place at the end of the line -USEDLIBS = saber.a wpa.a mssa.a - -LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts ipo codegen - -#LINK_COMPONENTS = all - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common - diff --git a/tools/WPA/Makefile b/tools/WPA/Makefile deleted file mode 100644 index d96982323..000000000 --- a/tools/WPA/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of the tool. -# -TOOLNAME=wpa - -# -# List libraries that we'll need -# We use LIBS because sample is a dynamic library. a -# !!Should always consider the dependence of each library, the parent library should place at the end of the line -USEDLIBS = wpa.a mssa.a - -LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts ipo codegen - -#LINK_COMPONENTS = all - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common -