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/toshiba | |
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/toshiba')
-rw-r--r-- | camlibs/toshiba/pdrm11/Makefile-files | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/camlibs/toshiba/pdrm11/Makefile-files b/camlibs/toshiba/pdrm11/Makefile-files index af1b1abd8..1519448b4 100644 --- a/camlibs/toshiba/pdrm11/Makefile-files +++ b/camlibs/toshiba/pdrm11/Makefile-files @@ -1,13 +1,18 @@ -# -*- Makefile -*- +# -*- Makefile-automake -*- -EXTRA_DIST += toshiba/pdrm11/README.toshiba-pdrm11 -camlibdoc_DATA += toshiba/pdrm11/README.toshiba-pdrm11 +EXTRA_DIST += %reldir%/README.toshiba-pdrm11 +camlibdoc_DATA += %reldir%/README.toshiba-pdrm11 -EXTRA_LTLIBRARIES += toshiba_pdrm11.la -toshiba_pdrm11_la_SOURCES = \ - toshiba/pdrm11/library.c \ - toshiba/pdrm11/pdrm11.c toshiba/pdrm11/pdrm11.h -toshiba_pdrm11_la_LDFLAGS = $(camlib_ldflags) -toshiba_pdrm11_la_DEPENDENCIES = $(camlib_dependencies) -toshiba_pdrm11_la_LIBADD = $(camlib_libadd) +EXTRA_LTLIBRARIES += toshiba_pdrm11.la + +toshiba_pdrm11_la_SOURCES = +toshiba_pdrm11_la_SOURCES += %reldir%/library.c +toshiba_pdrm11_la_SOURCES += %reldir%/pdrm11.c +toshiba_pdrm11_la_SOURCES += %reldir%/pdrm11.h + +toshiba_pdrm11_la_CFLAGS = $(camlib_cflags) +toshiba_pdrm11_la_CPPFLAGS = $(camlib_cppflags) +toshiba_pdrm11_la_DEPENDENCIES = $(camlib_dependencies) +toshiba_pdrm11_la_LDFLAGS = $(camlib_ldflags) +toshiba_pdrm11_la_LIBADD = $(camlib_libadd) |