File: Makefile.am

package info (click to toggle)
argtable2 13-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 6,284 kB
  • sloc: sh: 9,928; ansic: 4,562; makefile: 101
file content (30 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (3)
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
SUBDIRS = src tests doc
ACLOCAL_AMFLAGS=-I m4

pcfiledir=$(libdir)/pkgconfig
pcfile_DATA=argtable2.pc

exampledir=@exampledir@
dist_example_DATA  = example/Makefile example/README.txt
dist_example_DATA += example/argcustom.c
dist_example_DATA += example/argxxx.c
dist_example_DATA += example/argxxx.h
dist_example_DATA += example/callbacks.c
dist_example_DATA += example/echo.c
dist_example_DATA += example/hasoptvalue.c
dist_example_DATA += example/ls.c
dist_example_DATA += example/multisyntax.c
dist_example_DATA += example/mv.c
dist_example_DATA += example/myprog.c
dist_example_DATA += example/myprog_C89.c
dist_example_DATA += example/rm.c
dist_example_DATA += example/uname.c

# Extra rule to ensure the Windows-specific and CMake files are included in the distribution tarball.
dist-hook:
	cp -p $(top_srcdir)/CMakeLists.txt $(distdir)
	cp -p $(top_srcdir)/src/CMakeLists.txt $(distdir)/src
	cp -p $(top_srcdir)/src/Makefile.nmake $(distdir)/src
	cp -p $(top_srcdir)/src/argtable2.def $(distdir)/src
	cp -p $(top_srcdir)/example/Makefile.nmake $(distdir)/example