x86simdgen: update the Makefile to include the copyright in the .cpp

Drive-by include "DO NOT EDIT" in both files.

Change-Id: Ib5ce7a497e034ebabb2cfffd1762bf1d4ce737eb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Thiago Macieira 2023-05-26 09:41:54 -07:00
parent 456cfa0bd2
commit 718dae8e0b
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,7 @@ $(TARGETDIR)/$(TARGETHEADER): header $(TARGETHEADER)
sed '/-- implementation start --/,/-- implementation end --/d' $^ | \
sed 's!3rdparty/x86simd_generate\.pl!util/x86simdgen/README.md!' > $@
$(TARGETDIR)/$(TARGETCPP): $(TARGETHEADER) header
(cat header | grep -v '^//' | grep .; echo; \
echo '// This is a generated file. DO NOT EDIT.'; \
echo '// Please see util/x86simdgen/README.md'; \
(sed '/^$$/q' header; \
echo '#include "$(TARGETHEADER)"'; \
sed '1,/-- implementation start --/d;/-- implementation end --/,$$d' $<) > $@

View File

@ -1,5 +1,7 @@
// Copyright (C) 2022 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// This is a generated file. DO NOT EDIT.
// Please see util/x86simdgen/README.md
//
// W A R N I N G