~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/freealut/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Build, install and distribute the following subdirectories:
 
2
SUBDIRS = admin src include examples test_suite
 
3
 
 
4
# We keep our local autoconf macros in a separate 'm4'subdirectory.
 
5
ACLOCAL_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:
 
9
EXTRA_DIST =                                                    \
 
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              \
 
25
        autogen.sh                                              \
 
26
        doc/alut.css                                            \
 
27
        doc/alut.html                                           \
 
28
        CMakeLists.txt
 
29
 
 
30
# Automatically rebuild libtool if it becomes out-of-date.
 
31
libtool: $(LIBTOOL_DEPS)
 
32
        $(SHELL) ./config.status --recheck
 
33
 
 
34
# The Creative repository has some broken permissions, let's fix this.
 
35
permissions:
 
36
        find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
 
37
 
 
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" { ... }' 
 
42
# wrapper in it.
 
43
indent:
 
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 \
 
47
                : ; \
 
48
            else \
 
49
                echo Reformatted $$i ; \
 
50
                $(RM) $$i ; \
 
51
                mv indent.tmp $$i ; \
 
52
            fi ; \
 
53
        done
 
54
        @$(RM) indent.tmp
 
55
 
 
56
# Targets which are no files
 
57
.PHONY: permissions indent