Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/Makefile.am @ 17

Last change on this file since 17 was 17, checked in by landauf, 16 years ago

added openal

File size: 2.0 KB
Line 
1# Build, install and distribute the following subdirectories:
2SUBDIRS = admin src common include
3
4# We keep our local autoconf macros in a separate 'm4'subdirectory.
5ACLOCAL_AMFLAGS = -I admin/autotools/m4
6
7# The following files should be in our source distribution in addition to the
8# standard ones included by automake itself. A few remarks:
9#
10#  * As a temporary measure until the build system is fixed we mention a few
11#    files which don't really belong here.
12#
13#  * We do not mention the doc and test subdirectories, they are really too much
14#    out-of-date.
15EXTRA_DIST =                                                    \
16        CMakeLists.txt                                          \
17        NOTES                                                   \
18        admin/CMakeModules/CMakeASMCompiler.cmake.in            \
19        admin/CMakeModules/CMakeASMInformation.cmake            \
20        admin/CMakeModules/CMakeDetermineASMCompiler.cmake      \
21        admin/RPM/openal.spec                                   \
22        admin/RPM/openal.xpm                                    \
23        admin/autotools/.indent.pro                             \
24        autogen.sh                                              \
25        common/specification/OpenAL1-1Spec.pdf                  \
26        common/specification/OpenAL1-1Spec.sxw                  \
27        config-osx.h
28
29# Automatically rebuild libtool if it becomes out-of-date.
30libtool: $(LIBTOOL_DEPS)
31        $(SHELL) ./config.status --recheck
32
33# The Creative repository has some broken permissions, let's fix this.
34permissions:
35        find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
36
37# Automatically reformat all C headers and sources with indent according to
38# admin/autotools/.indent.pro, but be make-friendly and take some precautions to
39# leave those files untouched which wouldn't change. Do not reformat the public
40# AL extension header, it won't look the way we want it due to the 'extern "C" {
41# ... }' wrapper in it.
42indent:
43        @for i in `find . \( -name "*.c" -o -name "*.h" \) \! -name alut.h -print` ; do \
44            cat $$i | ( cd admin/autotools ; indent ) > indent.tmp ; \
45            if diff $$i indent.tmp > /dev/null 2>&1 ; then \
46                : ; \
47            else \
48                echo Reformatted $$i ; \
49                $(RM) $$i ; \
50                mv indent.tmp $$i ; \
51            fi ; \
52        done
53        @$(RM) indent.tmp
54
55# Targets which are no files
56.PHONY: permissions indent
Note: See TracBrowser for help on using the repository browser.