Files
libgphoto2/camlibs/template/Makefile-files
Hans Ulrich Niedermann 7205701c7d POTFILES.in: Add remaining source files using i18n.h
Add remaining source files including libgphoto2/i18n.h
or libgphoto2_port/i18n.h to the respective POTFILES.in,
regardless of whether or not the source file actually
contains translated strings.
2021-10-25 06:51:34 +02:00

31 lines
994 B
Makefile

# -*- Makefile -*-
# If you use this as template for a real camlib (say 'foobar.la'),
# make sure to change the "noinst_" at the beginning of the following
# lines:
# * "noinst_DATA" into "camlibdoc_DATA"
# * "noinst_LTLIBRARIES" into "EXTRA_LTLIBRARIES"
#
# Additionally, you must add an include line to the Makefile-files
# of the new camlib to camlibs/Makefile.am:
# * "include my-new-camlib/Makefile-files"
#
# And as the last step, you need to add it to configure.ac:
# * GP_CAMLIB([foobar])dnl
#
# Also, do not forget to add any *.c source files containing
# translated strings to POTFILES.in.
EXTRA_DIST += template/ChangeLog
EXTRA_DIST += template/README.template
noinst_DATA += template/README.template
noinst_LTLIBRARIES += template.la
template_la_SOURCES = template/template.c
template_la_CFLAGS = $(AM_CFLAGS) $(NO_UNUSED_CFLAGS) $(CFLAGS)
template_la_LDFLAGS = $(camlib_ldflags)
template_la_DEPENDENCIES = $(camlib_dependencies)
template_la_LIBADD = $(camlib_libadd)