mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-08 09:01:02 -04:00
This checks all (most) get_length() and get_child() calls compared to what GVariant would have returned.
23 lines
862 B
Makefile
23 lines
862 B
Makefile
all: sample ostree_test performance
|
|
|
|
sample.h: variant-schema-compiler sample.gv
|
|
./variant-schema-compiler --internal-validation --outfile sample.h --prefix=sample sample.gv
|
|
|
|
sample: sample.c sample.h
|
|
gcc `pkg-config --cflags --libs glib-2.0` -g -Wall -o sample sample.c
|
|
|
|
performance.h: variant-schema-compiler performance.gv
|
|
./variant-schema-compiler --outfile performance.h --prefix=performance performance.gv
|
|
|
|
performance: performance.c performance.h
|
|
gcc `pkg-config --cflags --libs glib-2.0` -O2 -o performance performance.c
|
|
|
|
ostree_test.h: variant-schema-compiler ostree.gv
|
|
./variant-schema-compiler --outfile ostree_test.h --prefix=ot ostree.gv
|
|
|
|
ostree_test: ostree_test.c ostree_test.h
|
|
gcc `pkg-config --cflags --libs glib-2.0` -g -Wall -o ostree_test ostree_test.c
|
|
|
|
clean:
|
|
rm -f sample.h sample performance.h performance ostree_test.h ostree_test
|