-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
not yet working, will fix it some day
- Loading branch information
Showing
6 changed files
with
211 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
CPP_SRCS += \ | ||
../libmodbus/modbus-rtu.cpp \ | ||
../libmodbus/modbus-tcp.cpp \ | ||
../libmodbus/modbus.cpp | ||
|
||
OBJS += \ | ||
./libmodbus/modbus-rtu.o \ | ||
./libmodbus/modbus-tcp.o \ | ||
./libmodbus/modbus.o | ||
|
||
CPP_DEPS += \ | ||
./libmodbus/modbus-rtu.d \ | ||
./libmodbus/modbus-tcp.d \ | ||
./libmodbus/modbus.d | ||
|
||
|
||
# Each subdirectory must supply rules for building sources it contributes | ||
libmodbus/%.o: ../libmodbus/%.cpp | ||
@echo 'Building file: $<' | ||
@echo 'Invoking: Cross G++ Compiler' | ||
arm-linux-gnueabihf-g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" | ||
@echo 'Finished building: $<' | ||
@echo ' ' | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
-include ../makefile.init | ||
|
||
RM := rm -rf | ||
|
||
# All of the sources participating in the build are defined here | ||
-include sources.mk | ||
-include tinyxml/subdir.mk | ||
-include libmodbus/subdir.mk | ||
-include subdir.mk | ||
-include objects.mk | ||
|
||
ifneq ($(MAKECMDGOALS),clean) | ||
ifneq ($(strip $(C++_DEPS)),) | ||
-include $(C++_DEPS) | ||
endif | ||
ifneq ($(strip $(C_DEPS)),) | ||
-include $(C_DEPS) | ||
endif | ||
ifneq ($(strip $(CC_DEPS)),) | ||
-include $(CC_DEPS) | ||
endif | ||
ifneq ($(strip $(CPP_DEPS)),) | ||
-include $(CPP_DEPS) | ||
endif | ||
ifneq ($(strip $(CXX_DEPS)),) | ||
-include $(CXX_DEPS) | ||
endif | ||
ifneq ($(strip $(C_UPPER_DEPS)),) | ||
-include $(C_UPPER_DEPS) | ||
endif | ||
endif | ||
|
||
-include ../makefile.defs | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
|
||
# All Target | ||
all: fpd | ||
|
||
# Tool invocations | ||
fpd: $(OBJS) $(USER_OBJS) | ||
@echo 'Building target: $@' | ||
@echo 'Invoking: Cross G++ Linker' | ||
arm-linux-gnueabihf-g++ -o "fpd" $(OBJS) $(USER_OBJS) $(LIBS) | ||
@echo 'Finished building target: $@' | ||
@echo ' ' | ||
|
||
# Other Targets | ||
clean: | ||
-$(RM) $(C++_DEPS)$(OBJS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) fpd | ||
-@echo ' ' | ||
|
||
.PHONY: all clean dependents | ||
.SECONDARY: | ||
|
||
-include ../makefile.targets |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
USER_OBJS := | ||
|
||
LIBS := -ludev -lbluetooth -lmysqlclient_r -lm | ||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
O_SRCS := | ||
CPP_SRCS := | ||
C_UPPER_SRCS := | ||
C_SRCS := | ||
S_UPPER_SRCS := | ||
OBJ_SRCS := | ||
ASM_SRCS := | ||
CXX_SRCS := | ||
C++_SRCS := | ||
CC_SRCS := | ||
C++_DEPS := | ||
OBJS := | ||
C_DEPS := | ||
CC_DEPS := | ||
CPP_DEPS := | ||
EXECUTABLES := | ||
CXX_DEPS := | ||
C_UPPER_DEPS := | ||
|
||
# Every subdirectory with source files must be described here | ||
SUBDIRS := \ | ||
tinyxml \ | ||
libmodbus \ | ||
. \ | ||
|
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
CPP_SRCS += \ | ||
../CBlueTooth.cpp \ | ||
../CFroniusProbe.cpp \ | ||
../CLog.cpp \ | ||
../CModbusMTU.cpp \ | ||
../CMysqlDb.cpp \ | ||
../CScanner.cpp \ | ||
../CSerial.cpp \ | ||
../CSmaProbe.cpp \ | ||
../CSocket.cpp \ | ||
../CSolutronicProbe.cpp \ | ||
../CSunergyProbe.cpp \ | ||
../CXMLDb.cpp \ | ||
../fpd.cpp | ||
|
||
OBJS += \ | ||
./CBlueTooth.o \ | ||
./CFroniusProbe.o \ | ||
./CLog.o \ | ||
./CModbusMTU.o \ | ||
./CMysqlDb.o \ | ||
./CScanner.o \ | ||
./CSerial.o \ | ||
./CSmaProbe.o \ | ||
./CSocket.o \ | ||
./CSolutronicProbe.o \ | ||
./CSunergyProbe.o \ | ||
./CXMLDb.o \ | ||
./fpd.o | ||
|
||
CPP_DEPS += \ | ||
./CBlueTooth.d \ | ||
./CFroniusProbe.d \ | ||
./CLog.d \ | ||
./CModbusMTU.d \ | ||
./CMysqlDb.d \ | ||
./CScanner.d \ | ||
./CSerial.d \ | ||
./CSmaProbe.d \ | ||
./CSocket.d \ | ||
./CSolutronicProbe.d \ | ||
./CSunergyProbe.d \ | ||
./CXMLDb.d \ | ||
./fpd.d | ||
|
||
|
||
# Each subdirectory must supply rules for building sources it contributes | ||
%.o: ../%.cpp | ||
@echo 'Building file: $<' | ||
@echo 'Invoking: Cross G++ Compiler' | ||
arm-linux-gnueabihf-g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" | ||
@echo 'Finished building: $<' | ||
@echo ' ' | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
################################################################################ | ||
# Automatically-generated file. Do not edit! | ||
################################################################################ | ||
|
||
# Add inputs and outputs from these tool invocations to the build variables | ||
CPP_SRCS += \ | ||
../tinyxml/tinyxml2.cpp | ||
|
||
OBJS += \ | ||
./tinyxml/tinyxml2.o | ||
|
||
CPP_DEPS += \ | ||
./tinyxml/tinyxml2.d | ||
|
||
|
||
# Each subdirectory must supply rules for building sources it contributes | ||
tinyxml/%.o: ../tinyxml/%.cpp | ||
@echo 'Building file: $<' | ||
@echo 'Invoking: Cross G++ Compiler' | ||
arm-linux-gnueabihf-g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" | ||
@echo 'Finished building: $<' | ||
@echo ' ' | ||
|
||
|