-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile.am
46 lines (32 loc) · 1.64 KB
/
Makefile.am
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## $Id: Makefile.am,v 5.12 2009/07/07 20:44:44 lirc Exp $
## Process this file with automake to produce Makefile.in
## Makefile.am, (c)1999 Tom Wheeley <[email protected]>
## we need version 1.5 of automake for DIST_SUBDIRS to work and dist-bzip2.
AUTOMAKE_OPTIONS = 1.5 check-news dist-bzip2
EXTRA_DIST = setup.sh setup-driver.sh setup.data data2setup.sh ANNOUNCE TODO
## daemons/ and tools/ should appear before doc/ for help2man to work.
SUBDIRS = drivers daemons tools doc
## From automake documentation:
## Note that EXTRA_DIST can only handle files in the current
## directory; files in other directories will cause make dist runtime
## failures.
## ----------------------------------------------------------------------
## flags to pass to ./configure when calling "make distcheck" and "make
## distcheck-light". Try to check as many features as possible! Also
## need to give enable-sandboxed, so that staged install does not fail.
## !!! BIG WARNING: this needs to be tweaked a bit more !!! ##
DISTCHECK_FLAGS = --with-driver=all --enable-sandboxed
DISTCHECK_CONFIGURE_FLAGS = ${DISTCHECK_FLAGS}
DISTCHECK_LIGHT_FLAGS = --with-driver=none --enable-sandboxed
distcheck-light:
$(MAKE) $(AM_MAKEFLAGS) DISTCHECK_FLAGS="$(DISTCHECK_LIGHT_FLAGS)" distcheck
# ----------------------------------------------------------------------
setup-driver.sh: data2setup.sh setup.data
./data2setup.sh > setup-driver.sh
dist-hook:
(cd $(srcdir)/contrib/hal/ && ./gen-hal-fdi.pl)
for f in contrib remotes; do \
cp -pr $(srcdir)/$$f $(distdir)/$$f; done
git log >$(distdir)/ChangeLog
DISTCLEANFILES = configure.sh .setup.config
CLEANFILES = *~ remotes/*~ contrib/*~