diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2022-12-29 11:02:46 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2022-12-29 11:02:46 (GMT) | 
| commit | 41db261acccf3494aa93b71a181cde9e8605a841 (patch) | |
| tree | 07a00f88920a8e601268d415131630052ef85988 /plugins/bootimg | |
| parent | c27f884ec1d18d9cff0d19d6ba8de1dd54d991c4 (diff) | |
Refactor Makefiles to exclude GTK on demand.
Diffstat (limited to 'plugins/bootimg')
| -rw-r--r-- | plugins/bootimg/Makefile.am | 16 | ||||
| -rw-r--r-- | plugins/bootimg/python/Makefile.am | 15 | 
2 files changed, 12 insertions, 19 deletions
diff --git a/plugins/bootimg/Makefile.am b/plugins/bootimg/Makefile.am index ada1e4e..623c555 100644 --- a/plugins/bootimg/Makefile.am +++ b/plugins/bootimg/Makefile.am @@ -35,15 +35,17 @@ PYTHON3_SUBDIRS = python  endif -libbootimg_la_SOURCES =					\ -	core.h core.c						\ -	bootimg-def.h						\ -	format-int.h format-int.c			\ +libbootimg_la_SOURCES =						\ +	core.h core.c							\ +	bootimg-def.h							\ +	format-int.h format-int.c				\  	format.h format.c -libbootimg_la_LIBADD =					\ +libbootimg_la_LIBADD =						\  	$(PYTHON3_LIBADD) +libbootimg_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src +  libbootimg_la_LDFLAGS =						\  	-avoid-version							\  	-L$(top_srcdir)/src/.libs -lchrysacore	\ @@ -55,8 +57,4 @@ devdir = $(includedir)/chrysalide/$(subdir)  dev_HEADERS = $(libbootimg_la_SOURCES:%c=) -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) -  SUBDIRS = $(PYTHON3_SUBDIRS) diff --git a/plugins/bootimg/python/Makefile.am b/plugins/bootimg/python/Makefile.am index 1f11581..d39a521 100644 --- a/plugins/bootimg/python/Makefile.am +++ b/plugins/bootimg/python/Makefile.am @@ -1,20 +1,15 @@  noinst_LTLIBRARIES = libbootimgpython.la -libbootimgpython_la_SOURCES =			\ -	format.h format.c					\ -	module.h module.c					\ +libbootimgpython_la_SOURCES =				\ +	format.h format.c						\ +	module.h module.c						\  	translate.h translate.c -libbootimgpython_la_LDFLAGS =  +libbootimgpython_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) \ +	-I$(top_srcdir)/src -DNO_IMPORT_PYGOBJECT  devdir = $(includedir)/chrysalide/$(subdir)  dev_HEADERS = $(libbootimgpython_la_SOURCES:%c=) - - -AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) \ -	-I$(top_srcdir)/src -DNO_IMPORT_PYGOBJECT - -AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)  | 
