<commit_before># This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
include $(wildcard $>/beast-gtk/gxk/*.d)
CLEANDIRS += $(wildcard $>/beast-gtk/gxk/)
beast-gtk/gxk/rpath..bse ::= ../../bse

# == libgxk sources ==
beast-gtk/gxk/libgxk.sources ::= $(strip	\
	beast-gtk/gxk/glewidgets.c		\
	beast-gtk/gxk/gxkaction.cc		\
	beast-gtk/gxk/gxkassortment.cc		\
	beast-gtk/gxk/gxkauxwidgets.cc		\
	beast-gtk/gxk/gxkcanvas.cc		\
	beast-gtk/gxk/gxkcellrendererpopup.cc	\
	beast-gtk/gxk/gxkcompat.cc		\
	beast-gtk/gxk/gxkdialog.cc		\
	beast-gtk/gxk/gxkglobals.cc		\
	beast-gtk/gxk/gxkimagecache.cc		\
	beast-gtk/gxk/gxkled.cc			\
	beast-gtk/gxk/gxklistwrapper.cc		\
	beast-gtk/gxk/gxklogadjustment.cc	\
	beast-gtk/gxk/gxkmenubutton.cc		\
	beast-gtk/gxk/gxknotebook.cc		\
	beast-gtk/gxk/gxkparam.cc		\
	beast-gtk/gxk/gxkpolygon.cc		\
	beast-gtk/gxk/gxkrackeditor.cc		\
	beast-gtk/gxk/gxkrackitem.cc		\
	beast-gtk/gxk/gxkracktable.cc		\
	beast-gtk/gxk/gxkradget.cc		\
	beast-gtk/gxk/gxkradgetfactory.cc	\
	beast-gtk/gxk/gxkscrollcanvas.cc	\
	beast-gtk/gxk/gxksimplelabel.cc 	\
	beast-gtk/gxk/gxkspline.cc		\
	beast-gtk/gxk/gxkstatusbar.cc		\
	beast-gtk/gxk/gxkstock.cc		\
	beast-gtk/gxk/gxktexttools.cc		\
	beast-gtk/gxk/gxkutils.cc		\
)
beast-gtk/gxk/libgxk.headers ::= $(strip	\
	beast-gtk/gxk/glewidgets.h		\
	beast-gtk/gxk/gxk.hh			\
	beast-gtk/gxk/gxkaction.hh		\
	beast-gtk/gxk/gxkassortment.hh		\
	beast-gtk/gxk/gxkauxwidgets.hh		\
	beast-gtk/gxk/gxkcanvas.hh		\
	beast-gtk/gxk/gxkcellrendererpopup.hh	\
	beast-gtk/gxk/gxkcompat.hh		\
	beast-gtk/gxk/gxkdialog.hh		\
	beast-gtk/gxk/gxkglobals.hh		\
	beast-gtk/gxk/gxkimagecache.hh		\
	beast-gtk/gxk/gxkled.hh			\
	beast-gtk/gxk/gxklistwrapper.hh		\
	beast-gtk/gxk/gxklogadjustment.hh	\
	beast-gtk/gxk/gxkmenubutton.hh		\
	beast-gtk/gxk/gxknotebook.hh		\
	beast-gtk/gxk/gxkparam.hh		\
	beast-gtk/gxk/gxkpolygon.hh		\
	beast-gtk/gxk/gxkrackeditor.hh		\
	beast-gtk/gxk/gxkrackitem.hh		\
	beast-gtk/gxk/gxkracktable.hh		\
	beast-gtk/gxk/gxkradget.hh		\
	beast-gtk/gxk/gxkradgetfactory.hh	\
	beast-gtk/gxk/gxkscrollcanvas.hh	\
	beast-gtk/gxk/gxksimplelabel.hh		\
	beast-gtk/gxk/gxkspline.hh		\
	beast-gtk/gxk/gxkstatusbar.hh		\
	beast-gtk/gxk/gxkstock.hh		\
	beast-gtk/gxk/gxktexttools.hh		\
	beast-gtk/gxk/gxkutils.hh		\
)
beast-gtk/gxk/libgxk.deps ::= $(strip		\
	$>/beast-gtk/gxk/gxkgentypes.h		\
	$>/beast-gtk/gxk/gxkmarshal.h		\
)
beast-gtk/gxk/libgxk.cc.deps ::= $(strip	\
	$>/beast-gtk/gxk/gxkgentypes.cc		\
	$>/beast-gtk/gxk/gxkmarshal.cc		\
)

# == libgxk variables ==
libgxk.a		     ::= libgxk-$(VERSION_MAJOR).$(VERSION_MINOR).a
beast-gtk/gxk/libgxk.a	     ::= $>/beast-gtk/gxk/$(libgxk.a)
ALL_TARGETS		      += $(beast-gtk/gxk/libgxk.a)
beast-gtk/gxk/libgxk.objects ::= $(call SUBST_O, $(addprefix $>/, $(beast-gtk/gxk/libgxk.sources)))
$(beast-gtk/gxk/libgxk.objects): $(beast-gtk/gxk/libgxk.deps) $(beast-gtk/gxk/libgxk.cc.deps)
$(beast-gtk/gxk/libgxk.objects): EXTRA_INCLUDES ::= -I$> -I$>/beast-gtk -Ibeast-gtk $(GTK_CFLAGS)
$(beast-gtk/gxk/libgxk.objects): EXTRA_DEFS ::= -DGXK_COMPILATION

# == gxktest ==
beast-gtk/gxk/gxktest		::= $>/beast-gtk/gxk/gxktest
ALL_TARGETS			 += $(beast-gtk/gxk/gxktest)
beast-gtk/gxk/gxktest.sources	::= beast-gtk/gxk/gxktest.cc
beast-gtk/gxk/gxktest.objects	::= $(sort $(beast-gtk/gxk/gxktest.sources:%.cc=$>/%.o))
$(beast-gtk/gxk/gxktest.objects):	$(beast-gtk/gxk/libgxk.a)
$(beast-gtk/gxk/gxktest.objects):	EXTRA_INCLUDES ::= -I$> -I$>/beast-gtk -Ibeast-gtk $(GTK_CFLAGS)

# == splinetest ==
beast-gtk/gxk/splinetest	  ::= $>/beast-gtk/gxk/splinetest
ALL_TARGETS			   += $(beast-gtk/gxk/splinetest)
beast-gtk/gxk/splinetest.sources  ::= beast-gtk/gxk/splinetest.cc
beast-gtk/gxk/splinetest.objects  ::= $(sort $(beast-gtk/gxk/splinetest.sources:%.cc=$>/%.o))
$(beast-gtk/gxk/splinetest.objects):	EXTRA_INCLUDES ::= -I$> -I$>/beast-gtk -Ibeast-gtk $(GTK_CFLAGS)

# == libgxk rules ==
$(eval $(call LINK_ARCHIVE, $(beast-gtk/gxk/libgxk.a), $(beast-gtk/gxk/libgxk.objects), | $>/beast-gtk/gxk/))

# == gxktest rules ==
$(eval $(call LINKER, $(beast-gtk/gxk/gxktest), $(beast-gtk/gxk/gxktest.objects), $(beast-gtk/gxk/libgxk.a) $(bse/libbse.solinks), $(beast-gtk/gxk/libgxk.a) -lbse-$(VERSION_MAJOR) $(GTK_LIBS), $(beast-gtk/gxk/rpath..bse)))

# == splinetest rules ==
$(eval $(call LINKER, $(beast-gtk/gxk/splinetest), $(beast-gtk/gxk/splinetest.objects), $(beast-gtk/gxk/libgxk.a) $(bse/libbse.solinks), $(beast-gtk/gxk/libgxk.a) -lbse-$(VERSION_MAJOR) $(GTK_LIBS), $(beast-gtk/gxk/rpath..bse)))

# == code generation ==
$>/beast-gtk/gxk/gxkgentypes.h: $(beast-gtk/gxk/libgxk.headers)			| $>/beast-gtk/gxk/
	$(QGEN)
	$Q $(GLIB_MKENUMS)	--fprod "\n/* --- @filename@ --- */" \
				--eprod "#define GXK_TYPE_@ENUMSHORT@\t    (gxk__type_id__@EnumName@)\n" \
				--eprod "extern GType gxk__type_id__@EnumName@;" \
				$(beast-gtk/gxk/libgxk.headers)		> $@.tmp
	$Q mv $@.tmp $@
$>/beast-gtk/gxk/gxkgentypes.cc: $(beast-gtk/gxk/libgxk.headers)		| $>/beast-gtk/gxk/
	$(QGEN)
	$Q $(GLIB_MKENUMS)	--fprod "\n/* --- @filename@ --- */\n" \
				--fprod "#include\t\"@filename@\"" \
				--vhead "\nGType gxk__type_id__@EnumName@ = 0;" \
				--vhead "\nstatic G@Type@Value @enum_name@_values[] = {" \
				--vprod "  { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
				--vtail "  { 0, NULL, NULL }\n};\n" \
				$(beast-gtk/gxk/libgxk.headers)		> $@.tmp
	$Q $(GLIB_MKENUMS)	--fhead "static const GxkTypeGenerated generated_type_entries[] = {" \
				--fprod "\n/* --- @filename@ --- */" \
				--eprod "  { \"@EnumName@\", G_TYPE_@TYPE@, &gxk__type_id__@EnumName@, @enum_name@_values }," \
				--ftail "\n};" \<commit_msg>BEAST-GTK: gxk/Makefile.mk: properly split defs and rules<commit_after># This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
include $(wildcard $>/beast-gtk/gxk/*.d)
CLEANDIRS += $(wildcard $>/beast-gtk/gxk/)
beast-gtk/gxk/rpath..bse ::= ../../bse

# == gxk/ files ==
beast-gtk/gxk/libgxk.sources ::= $(strip	\
	beast-gtk/gxk/glewidgets.c		\
	beast-gtk/gxk/gxkaction.cc		\
	beast-gtk/gxk/gxkassortment.cc		\
	beast-gtk/gxk/gxkauxwidgets.cc		\
	beast-gtk/gxk/gxkcanvas.cc		\
	beast-gtk/gxk/gxkcellrendererpopup.cc	\
	beast-gtk/gxk/gxkcompat.cc		\
	beast-gtk/gxk/gxkdialog.cc		\
	beast-gtk/gxk/gxkglobals.cc		\
	beast-gtk/gxk/gxkimagecache.cc		\
	beast-gtk/gxk/gxkled.cc			\
	beast-gtk/gxk/gxklistwrapper.cc		\
	beast-gtk/gxk/gxklogadjustment.cc	\
	beast-gtk/gxk/gxkmenubutton.cc		\
	beast-gtk/gxk/gxknotebook.cc		\
	beast-gtk/gxk/gxkparam.cc		\
	beast-gtk/gxk/gxkpolygon.cc		\
	beast-gtk/gxk/gxkrackeditor.cc		\
	beast-gtk/gxk/gxkrackitem.cc		\
	beast-gtk/gxk/gxkracktable.cc		\
	beast-gtk/gxk/gxkradget.cc		\
	beast-gtk/gxk/gxkradgetfactory.cc	\
	beast-gtk/gxk/gxkscrollcanvas.cc	\
	beast-gtk/gxk/gxksimplelabel.cc 	\
	beast-gtk/gxk/gxkspline.cc		\
	beast-gtk/gxk/gxkstatusbar.cc		\
	beast-gtk/gxk/gxkstock.cc		\
	beast-gtk/gxk/gxktexttools.cc		\
	beast-gtk/gxk/gxkutils.cc		\
)
beast-gtk/gxk/libgxk.headers ::= $(strip	\
	beast-gtk/gxk/glewidgets.h		\
	beast-gtk/gxk/gxk.hh			\
	beast-gtk/gxk/gxkaction.hh		\
	beast-gtk/gxk/gxkassortment.hh		\
	beast-gtk/gxk/gxkauxwidgets.hh		\
	beast-gtk/gxk/gxkcanvas.hh		\
	beast-gtk/gxk/gxkcellrendererpopup.hh	\
	beast-gtk/gxk/gxkcompat.hh		\
	beast-gtk/gxk/gxkdialog.hh		\
	beast-gtk/gxk/gxkglobals.hh		\
	beast-gtk/gxk/gxkimagecache.hh		\
	beast-gtk/gxk/gxkled.hh			\
	beast-gtk/gxk/gxklistwrapper.hh		\
	beast-gtk/gxk/gxklogadjustment.hh	\
	beast-gtk/gxk/gxkmenubutton.hh		\
	beast-gtk/gxk/gxknotebook.hh		\
	beast-gtk/gxk/gxkparam.hh		\
	beast-gtk/gxk/gxkpolygon.hh		\
	beast-gtk/gxk/gxkrackeditor.hh		\
	beast-gtk/gxk/gxkrackitem.hh		\
	beast-gtk/gxk/gxkracktable.hh		\
	beast-gtk/gxk/gxkradget.hh		\
	beast-gtk/gxk/gxkradgetfactory.hh	\
	beast-gtk/gxk/gxkscrollcanvas.hh	\
	beast-gtk/gxk/gxksimplelabel.hh		\
	beast-gtk/gxk/gxkspline.hh		\
	beast-gtk/gxk/gxkstatusbar.hh		\
	beast-gtk/gxk/gxkstock.hh		\
	beast-gtk/gxk/gxktexttools.hh		\
	beast-gtk/gxk/gxkutils.hh		\
)
beast-gtk/gxk/libgxk.deps ::= $(strip		\
	$>/beast-gtk/gxk/gxkgentypes.h		\
	$>/beast-gtk/gxk/gxkmarshal.h		\
)
beast-gtk/gxk/libgxk.cc.deps ::= $(strip	\
	$>/beast-gtk/gxk/gxkgentypes.cc		\
	$>/beast-gtk/gxk/gxkmarshal.cc		\
)

# == libgxk defs ==
libgxk.a		     ::= libgxk-$(VERSION_MAJOR).$(VERSION_MINOR).a
beast-gtk/gxk/libgxk.a	     ::= $>/beast-gtk/gxk/$(libgxk.a)
ALL_TARGETS		      += $(beast-gtk/gxk/libgxk.a)
beast-gtk/gxk/libgxk.objects ::= $(call SUBST_O, $(addprefix $>/, $(beast-gtk/gxk/libgxk.sources)))

# == gxktest defs ==
beast-gtk/gxk/gxktest		::= $>/beast-gtk/gxk/gxktest
ALL_TARGETS			 += $(beast-gtk/gxk/gxktest)
beast-gtk/gxk/gxktest.sources	::= beast-gtk/gxk/gxktest.cc
beast-gtk/gxk/gxktest.objects	::= $(sort $(beast-gtk/gxk/gxktest.sources:%.cc=$>/%.o))

# == splinetest defs ==
beast-gtk/gxk/splinetest	  ::= $>/beast-gtk/gxk/splinetest
ALL_TARGETS			   += $(beast-gtk/gxk/splinetest)
beast-gtk/gxk/splinetest.sources  ::= beast-gtk/gxk/splinetest.cc
beast-gtk/gxk/splinetest.objects  ::= $(sort $(beast-gtk/gxk/splinetest.sources:%.cc=$>/%.o))

# == libgxk rules ==
$(beast-gtk/gxk/libgxk.objects): $(beast-gtk/gxk/libgxk.deps) $(beast-gtk/gxk/libgxk.cc.deps)
$(beast-gtk/gxk/libgxk.objects): EXTRA_INCLUDES ::= -I$> -I$>/beast-gtk -Ibeast-gtk $(GTK_CFLAGS)
$(beast-gtk/gxk/libgxk.objects): EXTRA_DEFS ::= -DGXK_COMPILATION
$(eval $(call LINK_ARCHIVE, $(beast-gtk/gxk/libgxk.a), $(beast-gtk/gxk/libgxk.objects), | $>/beast-gtk/gxk/))

# == gxktest rules ==
$(beast-gtk/gxk/gxktest.objects):	$(beast-gtk/gxk/libgxk.a)
$(beast-gtk/gxk/gxktest.objects):	EXTRA_INCLUDES ::= -I$> -I$>/beast-gtk -Ibeast-gtk $(GTK_CFLAGS)
$(eval $(call LINKER, $(beast-gtk/gxk/gxktest), $(beast-gtk/gxk/gxktest.objects), $(beast-gtk/gxk/libgxk.a) $(bse/libbse.solinks), $(beast-gtk/gxk/libgxk.a) -lbse-$(VERSION_MAJOR) $(GTK_LIBS), $(beast-gtk/gxk/rpath..bse)))

# == splinetest rules ==
$(beast-gtk/gxk/splinetest.objects):	EXTRA_INCLUDES ::= -I$> -I$>/beast-gtk -Ibeast-gtk $(GTK_CFLAGS)
$(eval $(call LINKER, $(beast-gtk/gxk/splinetest), $(beast-gtk/gxk/splinetest.objects), $(beast-gtk/gxk/libgxk.a) $(bse/libbse.solinks), $(beast-gtk/gxk/libgxk.a) -lbse-$(VERSION_MAJOR) $(GTK_LIBS), $(beast-gtk/gxk/rpath..bse)))

# == code generation ==
$>/beast-gtk/gxk/gxkgentypes.h: $(beast-gtk/gxk/libgxk.headers)			| $>/beast-gtk/gxk/
	$(QGEN)
	$Q $(GLIB_MKENUMS)	--fprod "\n/* --- @filename@ --- */" \
				--eprod "#define GXK_TYPE_@ENUMSHORT@\t    (gxk__type_id__@EnumName@)\n" \
				--eprod "extern GType gxk__type_id__@EnumName@;" \
				$(beast-gtk/gxk/libgxk.headers)		> $@.tmp
	$Q mv $@.tmp $@
$>/beast-gtk/gxk/gxkgentypes.cc: $(beast-gtk/gxk/libgxk.headers)		| $>/beast-gtk/gxk/
	$(QGEN)
	$Q $(GLIB_MKENUMS)	--fprod "\n/* --- @filename@ --- */\n" \
				--fprod "#include\t\"@filename@\"" \
				--vhead "\nGType gxk__type_id__@EnumName@ = 0;" \
				--vhead "\nstatic G@Type@Value @enum_name@_values[] = {" \
				--vprod "  { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
				--vtail "  { 0, NULL, NULL }\n};\n" \
				$(beast-gtk/gxk/libgxk.headers)		> $@.tmp
	$Q $(GLIB_MKENUMS)	--fhead "static const GxkTypeGenerated generated_type_entries[] = {" \
				--fprod "\n/* --- @filename@ --- */" \
				--eprod "  { \"@EnumName@\", G_TYPE_@TYPE@, &gxk__type_id__@EnumName@, @enum_name@_values }," \
				--ftail "\n};" \
{'fraction_non_alphanumeric': 0.21189821792712119, 'fraction_numerical': 0.0010639241067470521, 'mean_word_length': 3.2326454033771106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3187305', 'n_tokens_mistral': 6554, 'n_tokens_neox': 6166, 'n_words': 518}