annotate Makefile @ 309:18bef142108d

Rename Makefile.gen to Makefile.common
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 03 Aug 2023 12:49:58 +0300
parents 52f0da883469
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
1 ###
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
2 ### Configuration settings for Linux and generic UNIX
309
18bef142108d Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents: 302
diff changeset
3 ### See other Makefile.common etc files for more options.
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
4 ###
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5
294
10748e9d54c4 Add Makefile parameter QT6=x to build for Qt6.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
6 QT_VERSION_PREFIX = Qt6
10748e9d54c4 Add Makefile parameter QT6=x to build for Qt6.
Matti Hamalainen <ccr@tnsp.org>
parents: 290
diff changeset
7 QT_TOOL_PREFIX = /usr/lib/qt6/libexec/
302
52f0da883469 Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 301
diff changeset
8
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 BINTOOL_PREFIX =
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 BINPATH = ./
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 OBJPATH = obj/unix/
263
f0e180b13e05 More build system improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 258
diff changeset
12 BINEXT =
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13
302
52f0da883469 Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 301
diff changeset
14 # Compiler flags and linker flags
52f0da883469 Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 301
diff changeset
15 QT_INCLUDES = -I. \
52f0da883469 Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 301
diff changeset
16 $(shell pkg-config --cflags $(addprefix $(QT_VERSION_PREFIX),$(QT_MODULES)))
290
755fe3f8c08f Minor build system cleanups in preparation for Qt6 support.
Matti Hamalainen <ccr@tnsp.org>
parents: 282
diff changeset
17
302
52f0da883469 Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 301
diff changeset
18 XCFLAGS += -D_REENTRANT -fPIC
52f0da883469 Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 301
diff changeset
19 XLDFLAGS += -Wl,-O1
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
20
282
f05e9c74a022 Add QT_VERSION_PREFIX Makefile variable.
Matti Hamalainen <ccr@tnsp.org>
parents: 281
diff changeset
21 APP_LIBS += $(shell pkg-config --libs $(addprefix $(QT_VERSION_PREFIX),$(QT_MODULES)))
52
1ac8fdd932b3 More work on build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 50
diff changeset
22 APP_DEP_LIBS =
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
23 APP_DEPS =
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
24
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
25 # Qt tools
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 QT_MOC_FLAGS =
290
755fe3f8c08f Minor build system cleanups in preparation for Qt6 support.
Matti Hamalainen <ccr@tnsp.org>
parents: 282
diff changeset
27 QT_MOC_RULES =
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 QT_UIC_FLAGS =
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29
309
18bef142108d Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents: 302
diff changeset
30 include Makefile.common