From d7d90b3e0a92f2639bebfcd3042567fe5f91c8f9 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 2 May 2017 13:44:23 +0800 Subject: [PATCH] add makefle --- X64/makefile | 71 +++++++++++++++++++++++++++++++++ X64/objects.mk | 8 ++++ X64/sources.mk | 39 ++++++++++++++++++ X64/src/Codec/subdir.mk | 27 +++++++++++++ X64/src/Device/subdir.mk | 30 ++++++++++++++ X64/src/H264/subdir.mk | 50 +++++++++++++++++++++++ X64/src/Http/subdir.mk | 27 +++++++++++++ X64/src/MedaiFile/CRC/subdir.mk | 24 +++++++++++ X64/src/MedaiFile/subdir.mk | 36 +++++++++++++++++ X64/src/Player/subdir.mk | 30 ++++++++++++++ X64/src/RTP/subdir.mk | 27 +++++++++++++ X64/src/Rtmp/subdir.mk | 51 +++++++++++++++++++++++ X64/src/Rtsp/subdir.mk | 48 ++++++++++++++++++++++ X64/src/Shell/subdir.mk | 27 +++++++++++++ X64/src/subdir.mk | 24 +++++++++++ X64/test/subdir.mk | 27 +++++++++++++ 16 files changed, 546 insertions(+) create mode 100644 X64/makefile create mode 100644 X64/objects.mk create mode 100644 X64/sources.mk create mode 100644 X64/src/Codec/subdir.mk create mode 100644 X64/src/Device/subdir.mk create mode 100644 X64/src/H264/subdir.mk create mode 100644 X64/src/Http/subdir.mk create mode 100644 X64/src/MedaiFile/CRC/subdir.mk create mode 100644 X64/src/MedaiFile/subdir.mk create mode 100644 X64/src/Player/subdir.mk create mode 100644 X64/src/RTP/subdir.mk create mode 100644 X64/src/Rtmp/subdir.mk create mode 100644 X64/src/Rtsp/subdir.mk create mode 100644 X64/src/Shell/subdir.mk create mode 100644 X64/src/subdir.mk create mode 100644 X64/test/subdir.mk diff --git a/X64/makefile b/X64/makefile new file mode 100644 index 00000000..69dddcf7 --- /dev/null +++ b/X64/makefile @@ -0,0 +1,71 @@ +################################################################################ +# 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 test/subdir.mk +-include src/Shell/subdir.mk +-include src/Rtsp/subdir.mk +-include src/Rtmp/subdir.mk +-include src/RTP/subdir.mk +-include src/Player/subdir.mk +-include src/MedaiFile/CRC/subdir.mk +-include src/MedaiFile/subdir.mk +-include src/Http/subdir.mk +-include src/H264/subdir.mk +-include src/Device/subdir.mk +-include src/Codec/subdir.mk +-include src/subdir.mk +-include subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(CC_DEPS)),) +-include $(CC_DEPS) +endif +ifneq ($(strip $(C++_DEPS)),) +-include $(C++_DEPS) +endif +ifneq ($(strip $(C_UPPER_DEPS)),) +-include $(C_UPPER_DEPS) +endif +ifneq ($(strip $(CXX_DEPS)),) +-include $(CXX_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +ifneq ($(strip $(CPP_DEPS)),) +-include $(CPP_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: libZLMediaKit.so + +# Tool invocations +libZLMediaKit.so: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: Cross G++ Linker' + g++ -shared -o "libZLMediaKit.so" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(LIBRARIES)$(CC_DEPS)$(C++_DEPS)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(C_DEPS)$(CPP_DEPS) libZLMediaKit.so + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/X64/objects.mk b/X64/objects.mk new file mode 100644 index 00000000..742c2da0 --- /dev/null +++ b/X64/objects.mk @@ -0,0 +1,8 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := + diff --git a/X64/sources.mk b/X64/sources.mk new file mode 100644 index 00000000..466f3ded --- /dev/null +++ b/X64/sources.mk @@ -0,0 +1,39 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +C_UPPER_SRCS := +CXX_SRCS := +C++_SRCS := +OBJ_SRCS := +CC_SRCS := +ASM_SRCS := +C_SRCS := +CPP_SRCS := +O_SRCS := +S_UPPER_SRCS := +LIBRARIES := +CC_DEPS := +C++_DEPS := +OBJS := +C_UPPER_DEPS := +CXX_DEPS := +C_DEPS := +CPP_DEPS := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +src/Codec \ +src/Device \ +src/H264 \ +src/Http \ +src/MedaiFile/CRC \ +src/MedaiFile \ +src/Player \ +src/RTP \ +src/Rtmp \ +src/Rtsp \ +src/Shell \ +src \ +test \ + diff --git a/X64/src/Codec/subdir.mk b/X64/src/Codec/subdir.mk new file mode 100644 index 00000000..f44ce977 --- /dev/null +++ b/X64/src/Codec/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Codec/AACEncoder.cpp \ +../src/Codec/H264Encoder.cpp + +OBJS += \ +./src/Codec/AACEncoder.o \ +./src/Codec/H264Encoder.o + +CPP_DEPS += \ +./src/Codec/AACEncoder.d \ +./src/Codec/H264Encoder.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Codec/%.o: ../src/Codec/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/Device/subdir.mk b/X64/src/Device/subdir.mk new file mode 100644 index 00000000..fc0a81e8 --- /dev/null +++ b/X64/src/Device/subdir.mk @@ -0,0 +1,30 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Device/Device.cpp \ +../src/Device/PlayerProxy.cpp \ +../src/Device/base64.cpp + +OBJS += \ +./src/Device/Device.o \ +./src/Device/PlayerProxy.o \ +./src/Device/base64.o + +CPP_DEPS += \ +./src/Device/Device.d \ +./src/Device/PlayerProxy.d \ +./src/Device/base64.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Device/%.o: ../src/Device/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/H264/subdir.mk b/X64/src/H264/subdir.mk new file mode 100644 index 00000000..b14f1173 --- /dev/null +++ b/X64/src/H264/subdir.mk @@ -0,0 +1,50 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../src/H264/SPSParser.c + +CPP_SRCS += \ +../src/H264/H264Parser.cpp \ +../src/H264/h264_bit_reader.cpp \ +../src/H264/h264_parser.cpp \ +../src/H264/h264_poc.cpp \ +../src/H264/ranges.cpp + +OBJS += \ +./src/H264/H264Parser.o \ +./src/H264/SPSParser.o \ +./src/H264/h264_bit_reader.o \ +./src/H264/h264_parser.o \ +./src/H264/h264_poc.o \ +./src/H264/ranges.o + +C_DEPS += \ +./src/H264/SPSParser.d + +CPP_DEPS += \ +./src/H264/H264Parser.d \ +./src/H264/h264_bit_reader.d \ +./src/H264/h264_parser.d \ +./src/H264/h264_poc.d \ +./src/H264/ranges.d + + +# Each subdirectory must supply rules for building sources it contributes +src/H264/%.o: ../src/H264/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +src/H264/%.o: ../src/H264/%.c + @echo 'Building file: $<' + @echo 'Invoking: Cross GCC Compiler' + gcc -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/Http/subdir.mk b/X64/src/Http/subdir.mk new file mode 100644 index 00000000..474c19ab --- /dev/null +++ b/X64/src/Http/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Http/HttpSession.cpp \ +../src/Http/strCoding.cpp + +OBJS += \ +./src/Http/HttpSession.o \ +./src/Http/strCoding.o + +CPP_DEPS += \ +./src/Http/HttpSession.d \ +./src/Http/strCoding.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Http/%.o: ../src/Http/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/MedaiFile/CRC/subdir.mk b/X64/src/MedaiFile/CRC/subdir.mk new file mode 100644 index 00000000..ecc04ed8 --- /dev/null +++ b/X64/src/MedaiFile/CRC/subdir.mk @@ -0,0 +1,24 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/MedaiFile/CRC/crc32.cpp + +OBJS += \ +./src/MedaiFile/CRC/crc32.o + +CPP_DEPS += \ +./src/MedaiFile/CRC/crc32.d + + +# Each subdirectory must supply rules for building sources it contributes +src/MedaiFile/CRC/%.o: ../src/MedaiFile/CRC/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/MedaiFile/subdir.mk b/X64/src/MedaiFile/subdir.mk new file mode 100644 index 00000000..365065ab --- /dev/null +++ b/X64/src/MedaiFile/subdir.mk @@ -0,0 +1,36 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/MedaiFile/HLSMaker.cpp \ +../src/MedaiFile/MediaReader.cpp \ +../src/MedaiFile/MediaRecorder.cpp \ +../src/MedaiFile/Mp4Maker.cpp \ +../src/MedaiFile/TSMaker.cpp + +OBJS += \ +./src/MedaiFile/HLSMaker.o \ +./src/MedaiFile/MediaReader.o \ +./src/MedaiFile/MediaRecorder.o \ +./src/MedaiFile/Mp4Maker.o \ +./src/MedaiFile/TSMaker.o + +CPP_DEPS += \ +./src/MedaiFile/HLSMaker.d \ +./src/MedaiFile/MediaReader.d \ +./src/MedaiFile/MediaRecorder.d \ +./src/MedaiFile/Mp4Maker.d \ +./src/MedaiFile/TSMaker.d + + +# Each subdirectory must supply rules for building sources it contributes +src/MedaiFile/%.o: ../src/MedaiFile/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/Player/subdir.mk b/X64/src/Player/subdir.mk new file mode 100644 index 00000000..fed7de90 --- /dev/null +++ b/X64/src/Player/subdir.mk @@ -0,0 +1,30 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Player/MediaPlayer.cpp \ +../src/Player/Player.cpp \ +../src/Player/PlayerBase.cpp + +OBJS += \ +./src/Player/MediaPlayer.o \ +./src/Player/Player.o \ +./src/Player/PlayerBase.o + +CPP_DEPS += \ +./src/Player/MediaPlayer.d \ +./src/Player/Player.d \ +./src/Player/PlayerBase.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Player/%.o: ../src/Player/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/RTP/subdir.mk b/X64/src/RTP/subdir.mk new file mode 100644 index 00000000..d0e0f88b --- /dev/null +++ b/X64/src/RTP/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/RTP/RtpMakerAAC.cpp \ +../src/RTP/RtpMakerH264.cpp + +OBJS += \ +./src/RTP/RtpMakerAAC.o \ +./src/RTP/RtpMakerH264.o + +CPP_DEPS += \ +./src/RTP/RtpMakerAAC.d \ +./src/RTP/RtpMakerH264.d + + +# Each subdirectory must supply rules for building sources it contributes +src/RTP/%.o: ../src/RTP/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/Rtmp/subdir.mk b/X64/src/Rtmp/subdir.mk new file mode 100644 index 00000000..38d66b49 --- /dev/null +++ b/X64/src/Rtmp/subdir.mk @@ -0,0 +1,51 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Rtmp/RtmpMediaSource.cpp \ +../src/Rtmp/RtmpParser.cpp \ +../src/Rtmp/RtmpPlayer.cpp \ +../src/Rtmp/RtmpPlayerImp.cpp \ +../src/Rtmp/RtmpProtocol.cpp \ +../src/Rtmp/RtmpPusher.cpp \ +../src/Rtmp/RtmpSession.cpp \ +../src/Rtmp/RtmpToRtspMediaSource.cpp \ +../src/Rtmp/amf.cpp \ +../src/Rtmp/utils.cpp + +OBJS += \ +./src/Rtmp/RtmpMediaSource.o \ +./src/Rtmp/RtmpParser.o \ +./src/Rtmp/RtmpPlayer.o \ +./src/Rtmp/RtmpPlayerImp.o \ +./src/Rtmp/RtmpProtocol.o \ +./src/Rtmp/RtmpPusher.o \ +./src/Rtmp/RtmpSession.o \ +./src/Rtmp/RtmpToRtspMediaSource.o \ +./src/Rtmp/amf.o \ +./src/Rtmp/utils.o + +CPP_DEPS += \ +./src/Rtmp/RtmpMediaSource.d \ +./src/Rtmp/RtmpParser.d \ +./src/Rtmp/RtmpPlayer.d \ +./src/Rtmp/RtmpPlayerImp.d \ +./src/Rtmp/RtmpProtocol.d \ +./src/Rtmp/RtmpPusher.d \ +./src/Rtmp/RtmpSession.d \ +./src/Rtmp/RtmpToRtspMediaSource.d \ +./src/Rtmp/amf.d \ +./src/Rtmp/utils.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Rtmp/%.o: ../src/Rtmp/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/Rtsp/subdir.mk b/X64/src/Rtsp/subdir.mk new file mode 100644 index 00000000..80841ab1 --- /dev/null +++ b/X64/src/Rtsp/subdir.mk @@ -0,0 +1,48 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Rtsp/RtpBroadCaster.cpp \ +../src/Rtsp/RtpParser.cpp \ +../src/Rtsp/Rtsp.cpp \ +../src/Rtsp/RtspMediaSource.cpp \ +../src/Rtsp/RtspPlayer.cpp \ +../src/Rtsp/RtspPlayerImp.cpp \ +../src/Rtsp/RtspSession.cpp \ +../src/Rtsp/RtspToRtmpMediaSource.cpp \ +../src/Rtsp/UDPServer.cpp + +OBJS += \ +./src/Rtsp/RtpBroadCaster.o \ +./src/Rtsp/RtpParser.o \ +./src/Rtsp/Rtsp.o \ +./src/Rtsp/RtspMediaSource.o \ +./src/Rtsp/RtspPlayer.o \ +./src/Rtsp/RtspPlayerImp.o \ +./src/Rtsp/RtspSession.o \ +./src/Rtsp/RtspToRtmpMediaSource.o \ +./src/Rtsp/UDPServer.o + +CPP_DEPS += \ +./src/Rtsp/RtpBroadCaster.d \ +./src/Rtsp/RtpParser.d \ +./src/Rtsp/Rtsp.d \ +./src/Rtsp/RtspMediaSource.d \ +./src/Rtsp/RtspPlayer.d \ +./src/Rtsp/RtspPlayerImp.d \ +./src/Rtsp/RtspSession.d \ +./src/Rtsp/RtspToRtmpMediaSource.d \ +./src/Rtsp/UDPServer.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Rtsp/%.o: ../src/Rtsp/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/Shell/subdir.mk b/X64/src/Shell/subdir.mk new file mode 100644 index 00000000..f46e55f6 --- /dev/null +++ b/X64/src/Shell/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/Shell/CMD.cpp \ +../src/Shell/ShellSession.cpp + +OBJS += \ +./src/Shell/CMD.o \ +./src/Shell/ShellSession.o + +CPP_DEPS += \ +./src/Shell/CMD.d \ +./src/Shell/ShellSession.d + + +# Each subdirectory must supply rules for building sources it contributes +src/Shell/%.o: ../src/Shell/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/src/subdir.mk b/X64/src/subdir.mk new file mode 100644 index 00000000..d712db41 --- /dev/null +++ b/X64/src/subdir.mk @@ -0,0 +1,24 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/config.cpp + +OBJS += \ +./src/config.o + +CPP_DEPS += \ +./src/config.d + + +# Each subdirectory must supply rules for building sources it contributes +src/%.o: ../src/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/X64/test/subdir.mk b/X64/test/subdir.mk new file mode 100644 index 00000000..632c9cd0 --- /dev/null +++ b/X64/test/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../test/DeviceHK.cpp \ +../test/test.cpp + +OBJS += \ +./test/DeviceHK.o \ +./test/test.o + +CPP_DEPS += \ +./test/DeviceHK.d \ +./test/test.d + + +# Each subdirectory must supply rules for building sources it contributes +test/%.o: ../test/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -std=c++1y -DENABLE_FAAC -DENABLE_RTSP2RTMP -DENABLE_RTMP2RTSP -DENABLE_MEDIAFILE -DENABLE_X264 -I"/home/xzl/git/ZLMediaKit/src" -I../../ZLToolKit/src -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +