summaryrefslogtreecommitdiff
path: root/camlibs/template/Makefile-files
blob: cfb698824b288615630938c60c07542b88c52c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- 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

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)