forked from hunter-ht-2018/ptfuzzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge master and dev, not tested, may have errors.
- Loading branch information
Showing
12 changed files
with
298 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,260 @@ | ||
## ----------------------------------------------------------------------- | ||
## | ||
## Copyright 2000 Transmeta Corporation - All Rights Reserved | ||
## | ||
## This program is free software; you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
## the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, | ||
## USA; either version 2 of the License, or (at your option) any later | ||
## version; incorporated herein by reference. | ||
## | ||
## ----------------------------------------------------------------------- | ||
# CMAKE generated file: DO NOT EDIT! | ||
# Generated by "Unix Makefiles" Generator, CMake Version 3.9 | ||
|
||
# | ||
# Makefile for MSRs | ||
# | ||
# Default target executed when no arguments are given to make. | ||
default_target: all | ||
|
||
CC = gcc -Wall | ||
CFLAGS = -g -O2 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 | ||
LDFLAGS = | ||
.PHONY : default_target | ||
|
||
BIN = wrmsr rdmsr cpuid | ||
# Allow only one "make -f Makefile2" at a time, but pass parallelism. | ||
.NOTPARALLEL: | ||
|
||
sbindir = /usr/sbin | ||
|
||
all: $(BIN) | ||
#============================================================================= | ||
# Special targets provided by cmake. | ||
|
||
# Disable implicit rules so canonical targets will work. | ||
.SUFFIXES: | ||
|
||
|
||
# Remove some rules from gmake that .SUFFIXES does not remove. | ||
SUFFIXES = | ||
|
||
.SUFFIXES: .hpux_make_needs_suffix_list | ||
|
||
|
||
# Suppress display of executed commands. | ||
$(VERBOSE).SILENT: | ||
|
||
|
||
# A target that is always out of date. | ||
cmake_force: | ||
|
||
.PHONY : cmake_force | ||
|
||
#============================================================================= | ||
# Set environment variables for the build. | ||
|
||
# The shell in which to execute make rules. | ||
SHELL = /bin/sh | ||
|
||
# The CMake executable. | ||
CMAKE_COMMAND = /usr/bin/cmake | ||
|
||
# The command to remove a file. | ||
RM = /usr/bin/cmake -E remove -f | ||
|
||
# Escaping for special characters. | ||
EQUALS = = | ||
|
||
# The top-level source directory on which CMake was run. | ||
CMAKE_SOURCE_DIR = /home/hunter/ptfuzzer | ||
|
||
# The top-level build directory on which CMake was run. | ||
CMAKE_BINARY_DIR = /home/hunter/ptfuzzer | ||
|
||
#============================================================================= | ||
# Targets provided globally by CMake. | ||
|
||
# Special rule for the target install/strip | ||
install/strip: preinstall | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." | ||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake | ||
.PHONY : install/strip | ||
|
||
# Special rule for the target install/strip | ||
install/strip/fast: preinstall/fast | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." | ||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake | ||
.PHONY : install/strip/fast | ||
|
||
# Special rule for the target edit_cache | ||
edit_cache: | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." | ||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. | ||
.PHONY : edit_cache | ||
|
||
# Special rule for the target edit_cache | ||
edit_cache/fast: edit_cache | ||
|
||
.PHONY : edit_cache/fast | ||
|
||
# Special rule for the target rebuild_cache | ||
rebuild_cache: | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." | ||
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
.PHONY : rebuild_cache | ||
|
||
# Special rule for the target rebuild_cache | ||
rebuild_cache/fast: rebuild_cache | ||
|
||
.PHONY : rebuild_cache/fast | ||
|
||
# Special rule for the target list_install_components | ||
list_install_components: | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" | ||
.PHONY : list_install_components | ||
|
||
# Special rule for the target list_install_components | ||
list_install_components/fast: list_install_components | ||
|
||
.PHONY : list_install_components/fast | ||
|
||
# Special rule for the target install/local | ||
install/local: preinstall | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." | ||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake | ||
.PHONY : install/local | ||
|
||
# Special rule for the target install/local | ||
install/local/fast: preinstall/fast | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." | ||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake | ||
.PHONY : install/local/fast | ||
|
||
# Special rule for the target install | ||
install: preinstall | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." | ||
/usr/bin/cmake -P cmake_install.cmake | ||
.PHONY : install | ||
|
||
# Special rule for the target install | ||
install/fast: preinstall/fast | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." | ||
/usr/bin/cmake -P cmake_install.cmake | ||
.PHONY : install/fast | ||
|
||
# The main all target | ||
all: cmake_check_build_system | ||
cd /home/hunter/ptfuzzer && $(CMAKE_COMMAND) -E cmake_progress_start /home/hunter/ptfuzzer/CMakeFiles /home/hunter/ptfuzzer/msr/CMakeFiles/progress.marks | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f CMakeFiles/Makefile2 msr/all | ||
$(CMAKE_COMMAND) -E cmake_progress_start /home/hunter/ptfuzzer/CMakeFiles 0 | ||
.PHONY : all | ||
|
||
# The main clean target | ||
clean: | ||
rm -f *.o $(BIN) | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f CMakeFiles/Makefile2 msr/clean | ||
.PHONY : clean | ||
|
||
# The main clean target | ||
clean/fast: clean | ||
|
||
.PHONY : clean/fast | ||
|
||
# Prepare targets for installation. | ||
preinstall: all | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f CMakeFiles/Makefile2 msr/preinstall | ||
.PHONY : preinstall | ||
|
||
# Prepare targets for installation. | ||
preinstall/fast: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f CMakeFiles/Makefile2 msr/preinstall | ||
.PHONY : preinstall/fast | ||
|
||
# clear depends | ||
depend: | ||
cd /home/hunter/ptfuzzer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 | ||
.PHONY : depend | ||
|
||
# Convenience name for target. | ||
msr/CMakeFiles/msr.dir/rule: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f CMakeFiles/Makefile2 msr/CMakeFiles/msr.dir/rule | ||
.PHONY : msr/CMakeFiles/msr.dir/rule | ||
|
||
# Convenience name for target. | ||
msr: msr/CMakeFiles/msr.dir/rule | ||
|
||
.PHONY : msr | ||
|
||
# fast build rule for target. | ||
msr/fast: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/build | ||
.PHONY : msr/fast | ||
|
||
rdmsr.o: rdmsr.c.o | ||
|
||
.PHONY : rdmsr.o | ||
|
||
# target to build an object file | ||
rdmsr.c.o: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/rdmsr.c.o | ||
.PHONY : rdmsr.c.o | ||
|
||
rdmsr.i: rdmsr.c.i | ||
|
||
.PHONY : rdmsr.i | ||
|
||
# target to preprocess a source file | ||
rdmsr.c.i: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/rdmsr.c.i | ||
.PHONY : rdmsr.c.i | ||
|
||
rdmsr.s: rdmsr.c.s | ||
|
||
.PHONY : rdmsr.s | ||
|
||
# target to generate assembly for a file | ||
rdmsr.c.s: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/rdmsr.c.s | ||
.PHONY : rdmsr.c.s | ||
|
||
wrmsr.o: wrmsr.c.o | ||
|
||
.PHONY : wrmsr.o | ||
|
||
# target to build an object file | ||
wrmsr.c.o: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/wrmsr.c.o | ||
.PHONY : wrmsr.c.o | ||
|
||
wrmsr.i: wrmsr.c.i | ||
|
||
.PHONY : wrmsr.i | ||
|
||
# target to preprocess a source file | ||
wrmsr.c.i: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/wrmsr.c.i | ||
.PHONY : wrmsr.c.i | ||
|
||
wrmsr.s: wrmsr.c.s | ||
|
||
.PHONY : wrmsr.s | ||
|
||
# target to generate assembly for a file | ||
wrmsr.c.s: | ||
cd /home/hunter/ptfuzzer && $(MAKE) -f msr/CMakeFiles/msr.dir/build.make msr/CMakeFiles/msr.dir/wrmsr.c.s | ||
.PHONY : wrmsr.c.s | ||
|
||
# Help Target | ||
help: | ||
@echo "The following are some of the valid targets for this Makefile:" | ||
@echo "... all (the default if no target is provided)" | ||
@echo "... clean" | ||
@echo "... depend" | ||
@echo "... install/strip" | ||
@echo "... edit_cache" | ||
@echo "... msr" | ||
@echo "... rebuild_cache" | ||
@echo "... list_install_components" | ||
@echo "... install/local" | ||
@echo "... install" | ||
@echo "... rdmsr.o" | ||
@echo "... rdmsr.i" | ||
@echo "... rdmsr.s" | ||
@echo "... wrmsr.o" | ||
@echo "... wrmsr.i" | ||
@echo "... wrmsr.s" | ||
.PHONY : help | ||
|
||
distclean: clean | ||
rm -f *~ \#* | ||
|
||
install: all | ||
install -m 755 $(BIN) $(sbindir) | ||
|
||
.o: | ||
$(CC) $(LDFLAGS) -o $@ $< | ||
#============================================================================= | ||
# Special targets to cleanup operation of make. | ||
|
||
.c.o: | ||
$(CC) $(CFLAGS) -o $@ $< | ||
# Special rule to run CMake to check the build system integrity. | ||
# No rule that depends on this can have commands that come from listfiles | ||
# because they might be regenerated. | ||
cmake_check_build_system: | ||
cd /home/hunter/ptfuzzer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
.PHONY : cmake_check_build_system | ||
|
||
.c: | ||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< |
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.