135 lines
6.1 KiB
Makefile
135 lines
6.1 KiB
Makefile
##
|
|
## Auto Generated makefile by CodeLite IDE
|
|
## any manual changes will be erased
|
|
##
|
|
## Debug
|
|
ProjectName :=HTTPServer
|
|
ConfigurationName :=Debug
|
|
WorkspacePath :=/home/barant
|
|
ProjectPath :=/home/barant/barant/HTTPServer
|
|
IntermediateDirectory :=./Debug
|
|
OutDir := $(IntermediateDirectory)
|
|
CurrentFileName :=
|
|
CurrentFilePath :=
|
|
CurrentFileFullPath :=
|
|
User :=root
|
|
Date :=05/30/19
|
|
CodeLitePath :=/home/barant/.codelite
|
|
LinkerName :=/usr/bin/x86_64-linux-gnu-g++
|
|
SharedObjectLinkerName :=/usr/bin/x86_64-linux-gnu-g++ -shared -fPIC
|
|
ObjectSuffix :=.o
|
|
DependSuffix :=.o.d
|
|
PreprocessSuffix :=.i
|
|
DebugSwitch :=-g
|
|
IncludeSwitch :=-I
|
|
LibrarySwitch :=-l
|
|
OutputSwitch :=-o
|
|
LibraryPathSwitch :=-L
|
|
PreprocessorSwitch :=-D
|
|
SourceSwitch :=-c
|
|
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
|
|
Preprocessors :=
|
|
ObjectSwitch :=-o
|
|
ArchiveOutputSwitch :=
|
|
PreprocessOnlySwitch :=-E
|
|
ObjectsFileList :="HTTPServer.txt"
|
|
PCHCompileFlags :=
|
|
MakeDirCommand :=mkdir -p
|
|
LinkOptions :=
|
|
IncludePath := $(IncludeSwitch). $(IncludeSwitch). $(IncludeSwitch)../ServerCore/
|
|
IncludePCH :=
|
|
RcIncludePath :=
|
|
Libs := $(LibrarySwitch)ServerCore $(LibrarySwitch)pthread $(LibrarySwitch)uuid
|
|
ArLibs := "ServerCore" "pthread" "uuid"
|
|
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)../ServerCore/Debug/
|
|
|
|
##
|
|
## Common variables
|
|
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables
|
|
##
|
|
AR := /usr/bin/x86_64-linux-gnu-ar rcu
|
|
CXX := /usr/bin/x86_64-linux-gnu-g++
|
|
CC := /usr/bin/x86_64-linux-gnu-gcc
|
|
CXXFLAGS := -g -O0 -Wall $(Preprocessors)
|
|
CFLAGS := -g -O0 -Wall $(Preprocessors)
|
|
ASFLAGS :=
|
|
AS := /usr/bin/x86_64-linux-gnu-as
|
|
|
|
|
|
##
|
|
## User defined environment variables
|
|
##
|
|
CodeLiteDir:=/usr/share/codelite
|
|
Objects0=$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IntermediateDirectory)/HTTPSession.cpp$(ObjectSuffix) $(IntermediateDirectory)/HTTPSessions.cpp$(ObjectSuffix) $(IntermediateDirectory)/HTTPHandler.cpp$(ObjectSuffix)
|
|
|
|
|
|
|
|
Objects=$(Objects0)
|
|
|
|
##
|
|
## Main Build Targets
|
|
##
|
|
.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs
|
|
all: $(OutputFile)
|
|
|
|
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
|
|
@$(MakeDirCommand) $(@D)
|
|
@echo "" > $(IntermediateDirectory)/.d
|
|
@echo $(Objects0) > $(ObjectsFileList)
|
|
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
|
|
|
|
MakeIntermediateDirs:
|
|
@test -d ./Debug || $(MakeDirCommand) ./Debug
|
|
|
|
|
|
$(IntermediateDirectory)/.d:
|
|
@test -d ./Debug || $(MakeDirCommand) ./Debug
|
|
|
|
PreBuild:
|
|
|
|
|
|
##
|
|
## Objects
|
|
##
|
|
$(IntermediateDirectory)/main.cpp$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main.cpp$(DependSuffix)
|
|
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/barant/barant/HTTPServer/main.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/main.cpp$(DependSuffix): main.cpp
|
|
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/main.cpp$(DependSuffix) -MM main.cpp
|
|
|
|
$(IntermediateDirectory)/main.cpp$(PreprocessSuffix): main.cpp
|
|
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.cpp$(PreprocessSuffix) main.cpp
|
|
|
|
$(IntermediateDirectory)/HTTPSession.cpp$(ObjectSuffix): HTTPSession.cpp $(IntermediateDirectory)/HTTPSession.cpp$(DependSuffix)
|
|
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/barant/barant/HTTPServer/HTTPSession.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/HTTPSession.cpp$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/HTTPSession.cpp$(DependSuffix): HTTPSession.cpp
|
|
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/HTTPSession.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/HTTPSession.cpp$(DependSuffix) -MM HTTPSession.cpp
|
|
|
|
$(IntermediateDirectory)/HTTPSession.cpp$(PreprocessSuffix): HTTPSession.cpp
|
|
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/HTTPSession.cpp$(PreprocessSuffix) HTTPSession.cpp
|
|
|
|
$(IntermediateDirectory)/HTTPSessions.cpp$(ObjectSuffix): HTTPSessions.cpp $(IntermediateDirectory)/HTTPSessions.cpp$(DependSuffix)
|
|
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/barant/barant/HTTPServer/HTTPSessions.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/HTTPSessions.cpp$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/HTTPSessions.cpp$(DependSuffix): HTTPSessions.cpp
|
|
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/HTTPSessions.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/HTTPSessions.cpp$(DependSuffix) -MM HTTPSessions.cpp
|
|
|
|
$(IntermediateDirectory)/HTTPSessions.cpp$(PreprocessSuffix): HTTPSessions.cpp
|
|
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/HTTPSessions.cpp$(PreprocessSuffix) HTTPSessions.cpp
|
|
|
|
$(IntermediateDirectory)/HTTPHandler.cpp$(ObjectSuffix): HTTPHandler.cpp $(IntermediateDirectory)/HTTPHandler.cpp$(DependSuffix)
|
|
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/barant/barant/HTTPServer/HTTPHandler.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/HTTPHandler.cpp$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/HTTPHandler.cpp$(DependSuffix): HTTPHandler.cpp
|
|
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/HTTPHandler.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/HTTPHandler.cpp$(DependSuffix) -MM HTTPHandler.cpp
|
|
|
|
$(IntermediateDirectory)/HTTPHandler.cpp$(PreprocessSuffix): HTTPHandler.cpp
|
|
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/HTTPHandler.cpp$(PreprocessSuffix) HTTPHandler.cpp
|
|
|
|
|
|
-include $(IntermediateDirectory)/*$(DependSuffix)
|
|
##
|
|
## Clean
|
|
##
|
|
clean:
|
|
$(RM) -r ./Debug/
|
|
|
|
|