From c8aa5562e5aec7567628f86b33f0e3a0e72e329e Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Fri, 15 Mar 2019 18:54:07 +0100 Subject: [PATCH] Follow GNU guidelines regarding GPLv3 - Rename LICENSE to COPYING - Add recommended header in each file --- LICENSE => COPYING | 0 Makefile | 16 ++++++++- config.arm-linux-gnu.mk | 18 ++++++++-- config.auto.mk | 16 ++++++++- config.bsd.mk | 16 ++++++++- config.cygwin.mk | 16 ++++++++- config.haiku.mk | 16 ++++++++- config.macosx-clang.mk | 16 ++++++++- config.macosx.mk | 16 ++++++++- config.mingw.mk | 16 ++++++++- config.mk | 16 ++++++++- config.msys.mk | 16 ++++++++- config.unix.mk | 16 ++++++++- config.vs2013-64.mk | 16 ++++++++- config/check_alloca.c | 35 +++++++++++++++++++ config/check_clearenv.c | 35 +++++++++++++++++++ config/check_drand48.c | 35 +++++++++++++++++++ config/check_egl.c | 35 +++++++++++++++++++ config/check_gdk_event_get_scancode.c | 35 +++++++++++++++++++ config/check_getpeereid.c | 35 +++++++++++++++++++ config/check_glob.c | 35 +++++++++++++++++++ config/check_gstaudio.c | 35 +++++++++++++++++++ config/check_gstvideo.c | 35 +++++++++++++++++++ config/check_int64.c | 35 +++++++++++++++++++ config/check_longlong.c | 35 +++++++++++++++++++ config/check_mingw_aligned_malloc.c | 35 +++++++++++++++++++ config/check_polkit_authority_get_sync.c | 35 +++++++++++++++++++ ...olkit_authorization_result_get_dismissed.c | 35 +++++++++++++++++++ config/check_posix_memalign.c | 35 +++++++++++++++++++ config/check_pulse.c | 35 +++++++++++++++++++ config/check_sasl.c | 35 +++++++++++++++++++ config/check_sbrk.c | 35 +++++++++++++++++++ config/check_sigaction.c | 35 +++++++++++++++++++ config/check_strtok_r.c | 35 +++++++++++++++++++ config/check_struct_sigaction.c | 35 +++++++++++++++++++ config/check_struct_stat.c | 35 +++++++++++++++++++ config/check_uchar.c | 35 +++++++++++++++++++ config/check_uint.c | 35 +++++++++++++++++++ config/check_ulong.c | 35 +++++++++++++++++++ config/check_ushort.c | 35 +++++++++++++++++++ configure | 35 +++++++++++++++++-- example/Makefile | 16 ++++++++- example/hello.cpp | 35 +++++++++++++++++++ example/lib1/Makefile | 16 ++++++++- example/lib1/lib1.c | 35 +++++++++++++++++++ example/lib2/Makefile | 18 ++++++++-- example/lib2/lib2.c | 35 +++++++++++++++++++ example/log-name.c | 35 +++++++++++++++++++ example/world.c | 35 +++++++++++++++++++ make-it-quick.spec | 2 +- rules.mk | 16 ++++++++- 51 files changed, 1376 insertions(+), 22 deletions(-) rename LICENSE => COPYING (100%) diff --git a/LICENSE b/COPYING similarity index 100% rename from LICENSE rename to COPYING diff --git a/Makefile b/Makefile index 4213414..0a6316b 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 2017-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** # Package description diff --git a/config.arm-linux-gnu.mk b/config.arm-linux-gnu.mk index 81959ac..8d5d8bd 100644 --- a/config.arm-linux-gnu.mk +++ b/config.arm-linux-gnu.mk @@ -15,8 +15,22 @@ # #****************************************************************************** # (C) 2017-2017 Christophe de Dinechin -#This software is licensed under the GNU General Public License v3 -#See file COPYING for details. +# This software is licensed under the GNU General Public License v3 +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** CROSS_COMPILE=arm-linux-gnu diff --git a/config.auto.mk b/config.auto.mk index 5b44b12..cadf0cf 100644 --- a/config.auto.mk +++ b/config.auto.mk @@ -15,7 +15,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** # Identification of the default build environment diff --git a/config.bsd.mk b/config.bsd.mk index d681466..78168ea 100644 --- a/config.bsd.mk +++ b/config.bsd.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** DEFINES_BUILDENV_bsd=CONFIG_BSD diff --git a/config.cygwin.mk b/config.cygwin.mk index f628d40..8a6add7 100644 --- a/config.cygwin.mk +++ b/config.cygwin.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** DEFINES_BUILDENV_cygwin=CONFIG_CYGWIN UNICODE _WIN32 WIN32 diff --git a/config.haiku.mk b/config.haiku.mk index 8920923..8cb3091 100644 --- a/config.haiku.mk +++ b/config.haiku.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** DEFINES_BUILDENV_haiku=CONFIG_HAIKU diff --git a/config.macosx-clang.mk b/config.macosx-clang.mk index eb8183f..1467e84 100644 --- a/config.macosx-clang.mk +++ b/config.macosx-clang.mk @@ -14,7 +14,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** #------------------------------------------------------------------------------ diff --git a/config.macosx.mk b/config.macosx.mk index f8c743b..c66293b 100644 --- a/config.macosx.mk +++ b/config.macosx.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** OS_NAME_BUILDENV_macosx= macosx diff --git a/config.mingw.mk b/config.mingw.mk index 706f345..9731df1 100644 --- a/config.mingw.mk +++ b/config.mingw.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** #------------------------------------------------------------------------------ diff --git a/config.mk b/config.mk index 364568e..8bd92ce 100644 --- a/config.mk +++ b/config.mk @@ -15,7 +15,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** # Use /bin/sh as a basic shell, since it is faster than bash diff --git a/config.msys.mk b/config.msys.mk index 73c5b07..6f79120 100644 --- a/config.msys.mk +++ b/config.msys.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** DEFINES_BUILDENV_msys=CONFIG_MSYS UNICODE _WIN32 WIN32 diff --git a/config.unix.mk b/config.unix.mk index 2889a8f..9132214 100644 --- a/config.unix.mk +++ b/config.unix.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** DEFINES_BUILDENV_unix= diff --git a/config.vs2013-64.mk b/config.vs2013-64.mk index 8768324..47d7f92 100644 --- a/config.vs2013-64.mk +++ b/config.vs2013-64.mk @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** DEFINES_BUILDENV_vs2013-64=$(DEFINES_BUILDENV_vs2013) diff --git a/config/check_alloca.c b/config/check_alloca.c index 9769f8c..800ebc9 100644 --- a/config/check_alloca.c +++ b/config/check_alloca.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_alloca.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if alloca exists +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_clearenv.c b/config/check_clearenv.c index 81d2022..8baf0d4 100644 --- a/config/check_clearenv.c +++ b/config/check_clearenv.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_clearenv.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if clearenv exists +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_drand48.c b/config/check_drand48.c index 1e84c00..90fcf02 100644 --- a/config/check_drand48.c +++ b/config/check_drand48.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_drand48.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if drand48() is provided by (missing on some MinGW) +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_egl.c b/config/check_egl.c index 70452bf..5a572f7 100644 --- a/config/check_egl.c +++ b/config/check_egl.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_egl.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if EGL header is present (assume it is installed if present) +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_gdk_event_get_scancode.c b/config/check_gdk_event_get_scancode.c index 5f60169..ee3a7e2 100644 --- a/config/check_gdk_event_get_scancode.c +++ b/config/check_gdk_event_get_scancode.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_gdk_event_get_scancode.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if gdk_event_get_scancode function is sane +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_getpeereid.c b/config/check_getpeereid.c index ac17e22..da483d5 100644 --- a/config/check_getpeereid.c +++ b/config/check_getpeereid.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_getpeereid.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if getpeereid exists +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include #include diff --git a/config/check_glob.c b/config/check_glob.c index ef26867..232996b 100644 --- a/config/check_glob.c +++ b/config/check_glob.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_glob.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if glob exists and has basic functionality +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int glob_error(const char *epath, int errno) diff --git a/config/check_gstaudio.c b/config/check_gstaudio.c index ebc8262..ccb110b 100644 --- a/config/check_gstaudio.c +++ b/config/check_gstaudio.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_gstaudio.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if gstaudio is installed +// +// (the test is not quite correct, but sufficient for SPICE) +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() { diff --git a/config/check_gstvideo.c b/config/check_gstvideo.c index ebc8262..782f2df 100644 --- a/config/check_gstvideo.c +++ b/config/check_gstvideo.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_gstvideo.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if gstvideo is present +// +// (The test is not quite correct, sufficient for SPICE for now) +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() { diff --git a/config/check_int64.c b/config/check_int64.c index 1579792..bcd2aa6 100644 --- a/config/check_int64.c +++ b/config/check_int64.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_int64.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if the compiler natively implements __int64 (Windows compilers) +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + int main() { __int64 x = 0; diff --git a/config/check_longlong.c b/config/check_longlong.c index dd37095..fab8be1 100644 --- a/config/check_longlong.c +++ b/config/check_longlong.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_longlong.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if compiler offers a long long type +// +// (I know, this is a bit outdated) +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + int main() { long long x = 0; diff --git a/config/check_mingw_aligned_malloc.c b/config/check_mingw_aligned_malloc.c index 6c5d921..2792cf5 100644 --- a/config/check_mingw_aligned_malloc.c +++ b/config/check_mingw_aligned_malloc.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_mingw_aligned_malloc.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if we need to use zany functions for alligned malloc +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_polkit_authority_get_sync.c b/config/check_polkit_authority_get_sync.c index b180436..0c6307a 100644 --- a/config/check_polkit_authority_get_sync.c +++ b/config/check_polkit_authority_get_sync.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_polkit_authority_get_sync.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if polkit_authority_get_sync exists +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() { diff --git a/config/check_polkit_authorization_result_get_dismissed.c b/config/check_polkit_authorization_result_get_dismissed.c index 81cf932..c768897 100644 --- a/config/check_polkit_authorization_result_get_dismissed.c +++ b/config/check_polkit_authorization_result_get_dismissed.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_polkit_authorization_result_get_dismissed.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if polkit_authorization_result_get_dismissed exists +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() { diff --git a/config/check_posix_memalign.c b/config/check_posix_memalign.c index 5056f63..d1986fa 100644 --- a/config/check_posix_memalign.c +++ b/config/check_posix_memalign.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_posix_memalign.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if we can use posix_memalign (otherwise, see mingw align...) +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_pulse.c b/config/check_pulse.c index 57a2ec1..7251924 100644 --- a/config/check_pulse.c +++ b/config/check_pulse.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_pulse.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if pulse development headers are installed +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_sasl.c b/config/check_sasl.c index c0b4fdf..94fe06c 100644 --- a/config/check_sasl.c +++ b/config/check_sasl.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_sasl.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if sasl development headers are installed +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() { diff --git a/config/check_sbrk.c b/config/check_sbrk.c index d662784..f9f33e5 100644 --- a/config/check_sbrk.c +++ b/config/check_sbrk.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_sbrk.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if sbrk() exists +// (macOS has been warning about deprecation for a while) +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include #include diff --git a/config/check_sigaction.c b/config/check_sigaction.c index 906c95f..ac40e63 100644 --- a/config/check_sigaction.c +++ b/config/check_sigaction.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_sigaction.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if sigaction exists +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_strtok_r.c b/config/check_strtok_r.c index 8aa4d43..4099696 100644 --- a/config/check_strtok_r.c +++ b/config/check_strtok_r.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_strtok_r.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if strtok is sane +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_struct_sigaction.c b/config/check_struct_sigaction.c index 455fc2d..4d6bf38 100644 --- a/config/check_struct_sigaction.c +++ b/config/check_struct_sigaction.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_struct_sigaction.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if there is a struct sigaction in +// +// Consider using check_sigaction.c instead +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_struct_stat.c b/config/check_struct_stat.c index 504b455..9034977 100644 --- a/config/check_struct_stat.c +++ b/config/check_struct_stat.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_struct_stat.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if exists and provides struct stat. +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include int main() diff --git a/config/check_uchar.c b/config/check_uchar.c index bff2c2c..17722cb 100644 --- a/config/check_uchar.c +++ b/config/check_uchar.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_uchar.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if uchar is defined by or +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include #include diff --git a/config/check_uint.c b/config/check_uint.c index b4ffb3b..4c93f5a 100644 --- a/config/check_uint.c +++ b/config/check_uint.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_uint.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if uint is defined by or +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include #include diff --git a/config/check_ulong.c b/config/check_ulong.c index 47715d4..2dd7452 100644 --- a/config/check_ulong.c +++ b/config/check_ulong.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_ulong.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if ulong is defined by or +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include #include diff --git a/config/check_ushort.c b/config/check_ushort.c index 4587ed7..d6e0d0d 100644 --- a/config/check_ushort.c +++ b/config/check_ushort.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// check_ushort.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Check if ushort is defined by or +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include #include diff --git a/configure b/configure index 93c330d..704ed2d 100755 --- a/configure +++ b/configure @@ -1,6 +1,37 @@ #!/bin/bash -# Configure 'make-it-quick' with the most-common options -# Those are appended to config.local-setup.mk +# ***************************************************************************** +# configure TaoJS project +# ***************************************************************************** +# +# File Description: +# +# Configure 'make-it-quick' with the most-common options +# Those will be used by the Makefile to generate config.system-setup.mk +# This script is mostly to inferface "like autoconf" +# +# +# +# +# +# ***************************************************************************** +# (C) 2017 Christophe de Dinechin +# This software is licensed under the GNU General Public License v3 +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . +# ***************************************************************************** SETUP=configured.mk diff --git a/example/Makefile b/example/Makefile index d7e5fb0..d98e8dc 100644 --- a/example/Makefile +++ b/example/Makefile @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 2017-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick. +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Foobar is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** # Define the source code diff --git a/example/hello.cpp b/example/hello.cpp index f53d5ab..8ea43f6 100644 --- a/example/hello.cpp +++ b/example/hello.cpp @@ -1,3 +1,38 @@ +// **************************************************************************** +// hello.cpp make-it-quick +// **************************************************************************** +// +// File Description: +// +// A simple "hello-world" test for make-it-quick +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include "config.h" #if HAVE_IOSTREAM #include diff --git a/example/lib1/Makefile b/example/lib1/Makefile index adfefd9..6847c05 100644 --- a/example/lib1/Makefile +++ b/example/lib1/Makefile @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 2017-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick. +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Foobar is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** SOURCES=lib1.c diff --git a/example/lib1/lib1.c b/example/lib1/lib1.c index a9c6e72..ac55c33 100644 --- a/example/lib1/lib1.c +++ b/example/lib1/lib1.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// lib1.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Simple test file for make-it-quick +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + int lib1_foo(void) { return 42; diff --git a/example/lib2/Makefile b/example/lib2/Makefile index 9fadc66..6ede37c 100644 --- a/example/lib2/Makefile +++ b/example/lib2/Makefile @@ -4,7 +4,7 @@ # # File Description: # -# +# Simple example makefile # # # @@ -16,7 +16,21 @@ #****************************************************************************** # (C) 2017-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick. +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Foobar is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** SOURCES=lib2.c diff --git a/example/lib2/lib2.c b/example/lib2/lib2.c index 12b1bb0..5f002f3 100644 --- a/example/lib2/lib2.c +++ b/example/lib2/lib2.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// lib2.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Simple test file for make-it-quick +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + int lib2_bar(void) { return 42; diff --git a/example/log-name.c b/example/log-name.c index 15bfa8f..d0e9804 100644 --- a/example/log-name.c +++ b/example/log-name.c @@ -1 +1,36 @@ +// **************************************************************************** +// log-name.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Simple test file for make-it-quick +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + int x = 0; diff --git a/example/world.c b/example/world.c index 449262b..80c033b 100644 --- a/example/world.c +++ b/example/world.c @@ -1,3 +1,38 @@ +// **************************************************************************** +// world.c make-it-quick +// **************************************************************************** +// +// File Description: +// +// Simple test file for make-it-quick +// +// +// +// +// +// +// +// +// **************************************************************************** +// (C) 2019 Christophe de Dinechin +// This software is licensed under the GNU General Public License v3 +// **************************************************************************** +// This file is part of make-it-quick. +// +// make-it-quick is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Foobar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with make-it-quick. If not, see . +// **************************************************************************** + #include "config.h" #include #include diff --git a/make-it-quick.spec b/make-it-quick.spec index 98403c2..b973f16 100644 --- a/make-it-quick.spec +++ b/make-it-quick.spec @@ -33,7 +33,7 @@ can be used to rapidly build C and C++ programs. %doc README.md %doc AUTHORS %doc NEWS -%license LICENSE +%license COPYING %dir %{_includedir}/%{name} %{_includedir}/%{name}/*.mk diff --git a/rules.mk b/rules.mk index d00a735..8f57011 100644 --- a/rules.mk +++ b/rules.mk @@ -15,7 +15,21 @@ #****************************************************************************** # (C) 1992-2018 Christophe de Dinechin # This software is licensed under the GNU General Public License v3 -# See LICENSE file for details. +#****************************************************************************** +# This file is part of make-it-quick +# +# make-it-quick is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# make-it-quick is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with make-it-quick. If not, see . #****************************************************************************** # Include the Makefile configuration and local variables