File: Makefile.am

package info (click to toggle)
argtable2 12-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,912 kB
  • sloc: sh: 9,083; ansic: 4,550; makefile: 106
file content (28 lines) | stat: -rw-r--r-- 960 bytes parent folder | download | duplicates (2)
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
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 files are included in the distribution tarball.
dist-hook:
	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