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 28 29 30
|
$ cat debhello-3.3/Makefile.am
# recursively process `Makefile.am` in SUBDIRS
SUBDIRS = po lib src man
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = build-aux/config.rpath m4/ChangeLog
$ cat debhello-3.3/man/Makefile.am
# manpages (distributed in the source package)
dist_man_MANS = hello.1
$ cat debhello-3.3/src/Makefile.am
# program executables to be produced
bin_PROGRAMS = hello
# source files used for bin_PROGRAMS
hello_SOURCES = hello.c
# C pre-processor flags used for bin_PROGRAMS
AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/lib
# Extra options for the linker for hello
hello_LDFLAGS = $(LTLIBINTL)
# Libraries the `hello` binary to be linked
hello_LDADD = $(top_srcdir)/lib/libsharedlib.la
#
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|