1 # Build, install and distribute the following subdirectories:
2 SUBDIRS = admin src include examples test_suite
4 # We keep our local autoconf macros in a separate 'm4'subdirectory.
5 ACLOCAL_AMFLAGS = -I admin/autotools/m4
7 # The following files should be in our source distribution in addition to the
8 # standard ones included by automake itself:
10 admin/autotools/.indent.pro \
11 admin/RPM/freealut.spec \
12 admin/VisualStudio6/alut/alut.dsp \
13 admin/VisualStudio6/alut.dsw \
14 admin/VisualStudio6/hello_world/hello_world.dsp \
15 admin/VisualStudio6/playfile/playfile.dsp \
16 admin/VisualStudioDotNET/alut/alut.vcproj \
17 admin/VisualStudioDotNET/alut.sln \
18 admin/VisualStudioDotNET/hello_world/hello_world.vcproj \
19 admin/VisualStudioDotNET/playfile/playfile.vcproj \
20 admin/CMakeModules/FindCompilerAttribute.cmake \
21 admin/CMakeModules/FindCompilerFlagsSet.cmake \
22 admin/CMakeModules/FindCompilerVisibility.cmake \
23 admin/CMakeModules/FindConfigHelper.cmake \
24 admin/CMakeModules/FindSleepFunction.cmake \
30 # Automatically rebuild libtool if it becomes out-of-date.
31 libtool: $(LIBTOOL_DEPS)
32 $(SHELL) ./config.status --recheck
34 # The Creative repository has some broken permissions, let's fix this.
36 find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
38 # Automatically reformat all C headers and sources with indent according to
39 # admin/autotools/.indent.pro, but be make-friendly and take some precautions to
40 # leave those files untouched which wouldn't change. Do not reformat the public
41 # ALUT header, it won't look the way we want it due to the 'extern "C" { ... }'
44 @for i in `find . \( -name "*.c" -o -name "*.h" \) \! -name alut.h -print` ; do \
45 cat $$i | ( cd admin/autotools ; indent ) > indent.tmp ; \
46 if diff $$i indent.tmp > /dev/null 2>&1 ; then \
49 echo Reformatted $$i ; \
56 # Targets which are no files
57 .PHONY: permissions indent