forked from AuroraMiddleware/gtk
examples: Rename the pkg-config file for GTK 4
We dropped the '+' and the major.minor version from the pkg-config file name.
This commit is contained in:
parent
589cb19715
commit
803ae6a62f
@ -2,10 +2,10 @@
|
||||
|
||||
== Building the examples ==
|
||||
|
||||
The examples in this directory are built alongside the rest of GTK+.
|
||||
The examples in this directory are built alongside the rest of GTK.
|
||||
|
||||
The examples under the `application[1-10]` directories are also included in
|
||||
the GTK+ API reference documentation, and can be built independently, using
|
||||
the GTK API reference documentation, and can be built independently, using
|
||||
the system libraries, by doing:
|
||||
|
||||
$ cd application1
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
|
||||
SRC = main.c exampleapp.c exampleappwin.c
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
|
||||
SRC = exampleapp.c exampleappwin.c main.c
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
|
||||
SRC = exampleapp.c exampleappwin.c main.c
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
|
||||
SRC = exampleapp.c exampleappwin.c main.c
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CC ?= gcc
|
||||
PKGCONFIG = $(shell which pkg-config)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
|
||||
CFLAGS = $(shell $(PKGCONFIG) --cflags gtk4)
|
||||
LIBS = $(shell $(PKGCONFIG) --libs gtk4)
|
||||
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
|
||||
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user