simplified directory structure

This commit is contained in:
Levi Neely 2024-06-27 22:05:44 +02:00
parent 3abd51ef7f
commit 2a01c043ff
1528 changed files with 282 additions and 2149 deletions

35
.gitignore vendored
View File

@ -1,25 +1,16 @@
**/*.o
**/*.a
/pCloudCC/lib/pclsync/.cache/
/pCloudCC/lib/pclsync/compile_commands.json
/pCloudCC/lib/mbedtls/Makefile
/pCloudCC/lib/mbedtls/library/Makefile
/pCloudCC/CMakeCache.txt
/pCloudCC/CMakeFiles/
/pCloudCC/Makefile
/pCloudCC/cmake_install.cmake
/pCloudCC/*.so
/pCloudCC/pcloudcc
/pCloudCC/arch/*.log
/pCloudCC/arch/*.zst
/pCloudCC/arch/*.gz
/pCloudCC/install_manifest.txt
/pCloudCC/*.zst
/lib/pclsync/.cache/
/lib/pclsync/compile_commands.json
/lib/mbedtls/build
/lib/mbedtls/library/Makefile
/build
/CMakeFiles/
/cmake_install.cmake
**/*.so
/install_manifest.txt
a.out
pcloudcc
/pCloudCC/.cache/
/pCloudCC/compile_commands.json
CMakeFiles
CMakeCache.txt
/pCloudCC/arch/*.log
/pCloudCC/arch/*.tar.*
**/*/pcloudcc
**/*/.cache/
**/*/compile_commands.json

View File

@ -1,18 +1,14 @@
all:
make -C pCloudCC/lib/pclsync fs
cmake -H./pCloudCC/lib/mbedtls -B./pCloudCC/lib/mbedtls
make -C pCloudCC/lib/mbedtls
cmake -H./pCloudCC -B./pCloudCC
make -C pCloudCC
make -C lib/pclsync fs
cmake -H./lib/mbedtls -B./lib/mbedtls/build
make -C lib/mbedtls
mkdir build
cmake -H. -B./build
make -C build
clean:
make -C pCloudCC/lib/pclsync clean
make -C pCloudCC/lib/mbedtls clean
rm -rf pCloudCC/lib/mbedtls/CMakeFiles
rm pCloudCC/lib/mbedtls/CMakeCache.txt
rm pCloudCC/lib/mbedtls/Makefile
make -C pCloudCC clean
rm -rf pCloudCC/CMakeFiles
rm pCloudCC/CMakeCache.txt
rm pCloudCC/Makefile
make -C lib/pclsync clean
rm -rf lib/mbedtls/build
rm -rf ./build

259
lib/mbedtls/Makefile Normal file
View File

@ -0,0 +1,259 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.29
# 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/lkn/src/my/pcloudcc-lneely/lib/mbedtls
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lkn/src/my/pcloudcc-lneely/lib/mbedtls
#=============================================================================
# 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
# 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
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
# 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/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
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/lkn/src/my/pcloudcc-lneely/lib/mbedtls/CMakeFiles /home/lkn/src/my/pcloudcc-lneely/lib/mbedtls//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/lkn/src/my/pcloudcc-lneely/lib/mbedtls/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 apidoc
# Build rule for target.
apidoc: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 apidoc
.PHONY : apidoc
# fast build rule for target.
apidoc/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/apidoc.dir/build.make CMakeFiles/apidoc.dir/build
.PHONY : apidoc/fast
#=============================================================================
# Target rules for targets named mbedtls
# Build rule for target.
mbedtls: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 mbedtls
.PHONY : mbedtls
# fast build rule for target.
mbedtls/fast:
$(MAKE) $(MAKESILENT) -f library/CMakeFiles/mbedtls.dir/build.make library/CMakeFiles/mbedtls.dir/build
.PHONY : mbedtls/fast
#=============================================================================
# Target rules for targets named polarssl
# Build rule for target.
polarssl: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 polarssl
.PHONY : polarssl
# fast build rule for target.
polarssl/fast:
$(MAKE) $(MAKESILENT) -f library/CMakeFiles/polarssl.dir/build.make library/CMakeFiles/polarssl.dir/build
.PHONY : polarssl/fast
#=============================================================================
# Target rules for targets named polarssl-clean
# Build rule for target.
polarssl-clean: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 polarssl-clean
.PHONY : polarssl-clean
# fast build rule for target.
polarssl-clean/fast:
$(MAKE) $(MAKESILENT) -f library/CMakeFiles/polarssl-clean.dir/build.make library/CMakeFiles/polarssl-clean.dir/build
.PHONY : polarssl-clean/fast
#=============================================================================
# Target rules for targets named polarssl-install
# Build rule for target.
polarssl-install: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 polarssl-install
.PHONY : polarssl-install
# fast build rule for target.
polarssl-install/fast:
$(MAKE) $(MAKESILENT) -f library/CMakeFiles/polarssl-install.dir/build.make library/CMakeFiles/polarssl-install.dir/build
.PHONY : polarssl-install/fast
# 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 "... install"
@echo "... install/local"
@echo "... install/strip"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... apidoc"
@echo "... polarssl"
@echo "... polarssl-clean"
@echo "... polarssl-install"
@echo "... mbedtls"
.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

Some files were not shown because too many files have changed in this diff Show More