shithub: openh264

Download patch

ref: 7df69c1482eae20c11a994d8e144347ac8ff8352
parent: fcd7a13816a7141236e1f66d7dfaa8f44c45d78a
author: Martin Storsjö <[email protected]>
date: Fri Jan 24 09:22:45 EST 2014

Remove an unnecessary field from generated makefiles

--- a/build/gtest-targets.mk
+++ b/build/gtest-targets.mk
@@ -1,4 +1,3 @@
-GTEST_PREFIX=GTEST
 GTEST_SRCDIR=gtest
 GTEST_CPP_SRCS=\
 	$(GTEST_SRCDIR)/./src/gtest-all.cc\
--- a/build/mktargets.py
+++ b/build/mktargets.py
@@ -76,7 +76,6 @@
 
 
 f = open(OUTFILE, "w")
-f.write("%s_PREFIX=%s\n"%(PREFIX, PREFIX))
 f.write("%s_SRCDIR=%s\n"%(PREFIX, args.directory))
 
 f.write("%s_CPP_SRCS=\\\n"%(PREFIX))
--- a/codec/common/targets.mk
+++ b/codec/common/targets.mk
@@ -1,4 +1,3 @@
-COMMON_PREFIX=COMMON
 COMMON_SRCDIR=codec/common
 COMMON_CPP_SRCS=\
 	$(COMMON_SRCDIR)/./cpu.cpp\
--- a/codec/console/dec/targets.mk
+++ b/codec/console/dec/targets.mk
@@ -1,4 +1,3 @@
-H264DEC_PREFIX=H264DEC
 H264DEC_SRCDIR=codec/console/dec
 H264DEC_CPP_SRCS=\
 	$(H264DEC_SRCDIR)/./src/d3d9_utils.cpp\
--- a/codec/console/enc/targets.mk
+++ b/codec/console/enc/targets.mk
@@ -1,4 +1,3 @@
-H264ENC_PREFIX=H264ENC
 H264ENC_SRCDIR=codec/console/enc
 H264ENC_CPP_SRCS=\
 	$(H264ENC_SRCDIR)/./src/read_config.cpp\
--- a/codec/decoder/targets.mk
+++ b/codec/decoder/targets.mk
@@ -1,4 +1,3 @@
-DECODER_PREFIX=DECODER
 DECODER_SRCDIR=codec/decoder
 DECODER_CPP_SRCS=\
 	$(DECODER_SRCDIR)/./core/src/au_parser.cpp\
--- a/codec/encoder/targets.mk
+++ b/codec/encoder/targets.mk
@@ -1,4 +1,3 @@
-ENCODER_PREFIX=ENCODER
 ENCODER_SRCDIR=codec/encoder
 ENCODER_CPP_SRCS=\
 	$(ENCODER_SRCDIR)/./core/src/au_set.cpp\
--- a/codec/processing/targets.mk
+++ b/codec/processing/targets.mk
@@ -1,4 +1,3 @@
-PROCESSING_PREFIX=PROCESSING
 PROCESSING_SRCDIR=codec/processing
 PROCESSING_CPP_SRCS=\
 	$(PROCESSING_SRCDIR)/./src/adaptivequantization/AdaptiveQuantization.cpp\
--- a/test/targets.mk
+++ b/test/targets.mk
@@ -1,4 +1,3 @@
-CODEC_UNITTEST_PREFIX=CODEC_UNITTEST
 CODEC_UNITTEST_SRCDIR=test
 CODEC_UNITTEST_CPP_SRCS=\
 	$(CODEC_UNITTEST_SRCDIR)/./decoder_test.cpp\