diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-05-29 00:12:16 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-09-01 22:36:00 +0200 |
commit | fa07a92c476ed898fee7052f47884e2199532157 (patch) | |
tree | 5c10698f05bb4cbd3434fd8c38800f5238873bf4 /camlibs/clicksmart310 | |
parent | 22a8459c687d6bddbf74afcfaebddd72d09a1212 (diff) | |
download | libgphoto2-fa07a92c476ed898fee7052f47884e2199532157.tar.gz |
camlib build var cleanup
Consistently use the same notation and formatting for all
camlib Makefile-files, which uses
* common $(camlib_cflags)
* common $(camlib_cppflags)
* common $(camlib_dependencies)
* common $(camlib_ldflags)
* common $(camlib_libadd)
and then groups additional related definitions together,
making it obvious when e.g. bar_la_LIBADD adds FOO_LIBS
but bar_la_CPPFLAGS forgot to add FOO_CFLAGS.
Diffstat (limited to 'camlibs/clicksmart310')
-rw-r--r-- | camlibs/clicksmart310/Makefile-files | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/camlibs/clicksmart310/Makefile-files b/camlibs/clicksmart310/Makefile-files index 0b1eb5573..b39ec7782 100644 --- a/camlibs/clicksmart310/Makefile-files +++ b/camlibs/clicksmart310/Makefile-files @@ -1,13 +1,19 @@ -# -*- Makefile -*- +# -*- Makefile-automake -*- -EXTRA_DIST += clicksmart310/README.clicksmart310 -camlibdoc_DATA += clicksmart310/README.clicksmart310 +EXTRA_DIST += %reldir%/README.clicksmart310 +camlibdoc_DATA += %reldir%/README.clicksmart310 -EXTRA_LTLIBRARIES += clicksmart310.la -clicksmart310_la_SOURCES = \ - clicksmart310/library.c \ - clicksmart310/clicksmart.c clicksmart310/clicksmart.h \ - clicksmart310/spca50x-jpeg-header.h -clicksmart310_la_LDFLAGS = $(camlib_ldflags) -clicksmart310_la_LIBADD = $(camlib_libadd) +EXTRA_LTLIBRARIES += clicksmart310.la + +clicksmart310_la_SOURCES = +clicksmart310_la_SOURCES += %reldir%/library.c +clicksmart310_la_SOURCES += %reldir%/clicksmart.c +clicksmart310_la_SOURCES += %reldir%/clicksmart.h +clicksmart310_la_SOURCES += %reldir%/spca50x-jpeg-header.h + +clicksmart310_la_CFLAGS = $(camlib_cflags) +clicksmart310_la_CPPFLAGS = $(camlib_cppflags) +clicksmart310_la_DEPENDENCIES = $(camlib_dependencies) +clicksmart310_la_LDFLAGS = $(camlib_ldflags) +clicksmart310_la_LIBADD = $(camlib_libadd) |