Files
LumberJack_TUI/build/Makefile
rapturate 1dab3ac7b7 Created my ip_to_geo .cpp and .hpp files and code.
Additionally, I added a .env file and started using
cmake build styles rather than g++ for more efficient
compiling and testing.
 Changes to be committed:
	new file:   .env
	new file:   CMakeLists.txt
	new file:   build/CMakeCache.txt
	new file:   build/CMakeFiles/4.3.2/CMakeCXXCompiler.cmake
	new file:   build/CMakeFiles/4.3.2/CMakeDetermineCompilerABI_CXX.bin
	new file:   build/CMakeFiles/4.3.2/CMakeSystem.cmake
	new file:   build/CMakeFiles/4.3.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
	new file:   build/CMakeFiles/4.3.2/CompilerIdCXX/a.out
	new file:   build/CMakeFiles/CMakeConfigureLog.yaml
	new file:   build/CMakeFiles/CMakeDirectoryInformation.cmake
	new file:   build/CMakeFiles/InstallScripts.json
	new file:   build/CMakeFiles/Makefile.cmake
	new file:   build/CMakeFiles/Makefile2
	new file:   build/CMakeFiles/TargetDirectories.txt
	new file:   build/CMakeFiles/cmake.check_cache
	new file:   build/CMakeFiles/parselog_cli.dir/DependInfo.cmake
	new file:   build/CMakeFiles/parselog_cli.dir/build.make
	new file:   build/CMakeFiles/parselog_cli.dir/cmake_clean.cmake
	new file:   build/CMakeFiles/parselog_cli.dir/compiler_depend.internal
	new file:   build/CMakeFiles/parselog_cli.dir/compiler_depend.make
	new file:   build/CMakeFiles/parselog_cli.dir/compiler_depend.ts
	new file:   build/CMakeFiles/parselog_cli.dir/depend.make
	new file:   build/CMakeFiles/parselog_cli.dir/flags.make
	new file:   build/CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/link.d
	new file:   build/CMakeFiles/parselog_cli.dir/link.txt
	new file:   build/CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/main.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/main.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/progress.make
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o.d
	new file:   build/CMakeFiles/progress.marks
	new file:   build/Makefile
	new file:   build/cmake_install.cmake
	new file:   build/compile_commands.json
	new file:   build/parselog_cli
	new file:   compile_commands.json
	new file:   data/GeoLite2-City.mmdb
	modified:   ip_to_geo/ip_to_geo.cpp
	modified:   ip_to_geo/ip_to_geo.hpp
	modified:   main.cpp
	deleted:    parselog_cli.exe
	deleted:    test
	renamed:    ip_to_geo/GeoLite2PP.hpp -> third_party/include/GeoLite2PP.hpp
	new file:   third_party/include/GeoLite2PP_error_category.hpp
	new file:   third_party/include/GeoLite2PP_version.hpp
	new file:   third_party/include/maxminddb.h
	new file:   third_party/include/maxminddb_config.h
	new file:   third_party/lib/libmaxminddb.a
	new file:   third_party/src/GeoLite2PP.cpp
	new file:   third_party/src/GeoLite2PP_error_category.cpp
2026-06-03 15:22:59 -04:00

290 lines
9.7 KiB
Makefile

# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.3
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#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 rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/rapturate/Code/cpp/parselog_cli
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/rapturate/Code/cpp/parselog_cli/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.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 --regenerate-during-build -S$(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
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/rapturate/Code/cpp/parselog_cli/build/CMakeFiles /home/rapturate/Code/cpp/parselog_cli/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/rapturate/Code/cpp/parselog_cli/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named parselog_cli
# Build rule for target.
parselog_cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 parselog_cli
.PHONY : parselog_cli
# fast build rule for target.
parselog_cli/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/build
.PHONY : parselog_cli/fast
ip_to_geo/ip_to_geo.o: ip_to_geo/ip_to_geo.cpp.o
.PHONY : ip_to_geo/ip_to_geo.o
# target to build an object file
ip_to_geo/ip_to_geo.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o
.PHONY : ip_to_geo/ip_to_geo.cpp.o
ip_to_geo/ip_to_geo.i: ip_to_geo/ip_to_geo.cpp.i
.PHONY : ip_to_geo/ip_to_geo.i
# target to preprocess a source file
ip_to_geo/ip_to_geo.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.i
.PHONY : ip_to_geo/ip_to_geo.cpp.i
ip_to_geo/ip_to_geo.s: ip_to_geo/ip_to_geo.cpp.s
.PHONY : ip_to_geo/ip_to_geo.s
# target to generate assembly for a file
ip_to_geo/ip_to_geo.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.s
.PHONY : ip_to_geo/ip_to_geo.cpp.s
log_parsing/log_parsing.o: log_parsing/log_parsing.cpp.o
.PHONY : log_parsing/log_parsing.o
# target to build an object file
log_parsing/log_parsing.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o
.PHONY : log_parsing/log_parsing.cpp.o
log_parsing/log_parsing.i: log_parsing/log_parsing.cpp.i
.PHONY : log_parsing/log_parsing.i
# target to preprocess a source file
log_parsing/log_parsing.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.i
.PHONY : log_parsing/log_parsing.cpp.i
log_parsing/log_parsing.s: log_parsing/log_parsing.cpp.s
.PHONY : log_parsing/log_parsing.s
# target to generate assembly for a file
log_parsing/log_parsing.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.s
.PHONY : log_parsing/log_parsing.cpp.s
main.o: main.cpp.o
.PHONY : main.o
# target to build an object file
main.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/main.cpp.o
.PHONY : main.cpp.o
main.i: main.cpp.i
.PHONY : main.i
# target to preprocess a source file
main.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/main.cpp.i
.PHONY : main.cpp.i
main.s: main.cpp.s
.PHONY : main.s
# target to generate assembly for a file
main.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/main.cpp.s
.PHONY : main.cpp.s
third_party/src/GeoLite2PP.o: third_party/src/GeoLite2PP.cpp.o
.PHONY : third_party/src/GeoLite2PP.o
# target to build an object file
third_party/src/GeoLite2PP.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o
.PHONY : third_party/src/GeoLite2PP.cpp.o
third_party/src/GeoLite2PP.i: third_party/src/GeoLite2PP.cpp.i
.PHONY : third_party/src/GeoLite2PP.i
# target to preprocess a source file
third_party/src/GeoLite2PP.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.i
.PHONY : third_party/src/GeoLite2PP.cpp.i
third_party/src/GeoLite2PP.s: third_party/src/GeoLite2PP.cpp.s
.PHONY : third_party/src/GeoLite2PP.s
# target to generate assembly for a file
third_party/src/GeoLite2PP.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.s
.PHONY : third_party/src/GeoLite2PP.cpp.s
third_party/src/GeoLite2PP_error_category.o: third_party/src/GeoLite2PP_error_category.cpp.o
.PHONY : third_party/src/GeoLite2PP_error_category.o
# target to build an object file
third_party/src/GeoLite2PP_error_category.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o
.PHONY : third_party/src/GeoLite2PP_error_category.cpp.o
third_party/src/GeoLite2PP_error_category.i: third_party/src/GeoLite2PP_error_category.cpp.i
.PHONY : third_party/src/GeoLite2PP_error_category.i
# target to preprocess a source file
third_party/src/GeoLite2PP_error_category.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.i
.PHONY : third_party/src/GeoLite2PP_error_category.cpp.i
third_party/src/GeoLite2PP_error_category.s: third_party/src/GeoLite2PP_error_category.cpp.s
.PHONY : third_party/src/GeoLite2PP_error_category.s
# target to generate assembly for a file
third_party/src/GeoLite2PP_error_category.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/parselog_cli.dir/build.make CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.s
.PHONY : third_party/src/GeoLite2PP_error_category.cpp.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 "... edit_cache"
@echo "... rebuild_cache"
@echo "... parselog_cli"
@echo "... ip_to_geo/ip_to_geo.o"
@echo "... ip_to_geo/ip_to_geo.i"
@echo "... ip_to_geo/ip_to_geo.s"
@echo "... log_parsing/log_parsing.o"
@echo "... log_parsing/log_parsing.i"
@echo "... log_parsing/log_parsing.s"
@echo "... main.o"
@echo "... main.i"
@echo "... main.s"
@echo "... third_party/src/GeoLite2PP.o"
@echo "... third_party/src/GeoLite2PP.i"
@echo "... third_party/src/GeoLite2PP.s"
@echo "... third_party/src/GeoLite2PP_error_category.o"
@echo "... third_party/src/GeoLite2PP_error_category.i"
@echo "... third_party/src/GeoLite2PP_error_category.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# 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:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system