Fixing the build after Diederick Niehorster's full screen fixes: they are only valid...
[freeglut] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = src include progs doc
4 AUTOMAKE_OPTIONS = gnu
5
6 EXTRA_DIST = \
7         FrequentlyAskedQuestions \
8         LISEZ_MOI \
9         README.win32 \
10         autogen.sh \
11         freeglut.dep \
12         freeglut.dsp \
13         freeglut.dsw \
14         freeglut.kdevelop \
15         freeglut.kdevprj \
16         freeglut.lsm \
17         freeglut.mak \
18         freeglut.rc \
19         freeglut.spec \
20         freeglut.tgt \
21         freeglut.wpj \
22         freeglut_evc4.vcp \
23         freeglut_evc4.vcw \
24         freeglut_static.dep \
25         freeglut_static.dsp \
26         freeglut_static.mak \
27         freeglut_static.tgt \
28         freeglut_static_vs2008.vcproj \
29         freeglut_vs2008.sln \
30         freeglut_vs2008.vcproj \
31         progs/demos/CallbackMaker/CallbackMakerStatic.dsp \
32         progs/demos/CallbackMaker/CallbackMakerStatic_vs2008.vcproj \
33         progs/demos/CallbackMaker/CallbackMaker_vs2008.vcproj \
34         progs/demos/Fractals/FractalsStatic.dsp \
35         progs/demos/Fractals/FractalsStatic_vs2008.vcproj \
36         progs/demos/Fractals/Fractals_vs2008.vcproj \
37         progs/demos/Fractals_random/Fractals_randomStatic.dsp \
38         progs/demos/Fractals_random/Fractals_randomStatic_vs2008.vcproj \
39         progs/demos/Fractals_random/Fractals_random_vs2008.vcproj \
40         progs/demos/Lorenz/lorenzStatic.dsp \
41         progs/demos/Lorenz/lorenzStatic_vs2008.vcproj \
42         progs/demos/Lorenz/lorenz_vs2008.vcproj \
43         progs/demos/One/oneStatic.dsp \
44         progs/demos/One/oneStatic_vs2008.vcproj \
45         progs/demos/One/one_vs2008.vcproj \
46         progs/demos/demos_vs2008.sln \
47         progs/demos/shapes/shapesStatic.dsp \
48         progs/demos/shapes/shapesStatic_vs2008.vcproj \
49         progs/demos/shapes/shapes_vs2008.vcproj \
50         progs/demos/smooth_opengl3/smooth_opengl3Static.dsp \
51         progs/demos/smooth_opengl3/smooth_opengl3Static_vs2008.vcproj \
52         progs/demos/smooth_opengl3/smooth_opengl3_vs2008.vcproj
53
54 # Thanks to WinDoze, some files in CVS have the "execute" bit set when they
55 # shoudn't. We could fix this if we had direct access to the CVS repository,
56 # but we are not that lucky. Instead we fix this at distribution creation time.
57 dist-hook:
58         find $(distdir) -type f \( \
59             -name "*.c" -o \
60             -name "*.dsp" -o \
61             -name "*.dsw" -o \
62             -name "*.h" -o \
63             -name "*.html" -o \
64             -name "*.png" -o \
65             -name "LISEZ_MOI" -o \
66             -name "README*" \
67             \) -exec chmod -x {} \;
68
69 libtool: $(LIBTOOL_DEPS)
70         $(SHELL) ./config.status --recheck