Skip to content

Latest commit

 

History

History
107 lines (92 loc) · 2.46 KB

Makefile.am

File metadata and controls

107 lines (92 loc) · 2.46 KB
 
Apr 26, 2001
Apr 26, 2001
1
2
3
4
5
6
7
8
9
10
11
12
# The top-level input Makefile for SDL
# require automake 1.4
AUTOMAKE_OPTIONS = 1.4
## Any directories that you want built and installed should go here.
SUBDIRS = src include docs
## Any directories you want a part of the distribution should be listed
## here, as well as have a Makefile generated at the end of configure.in
##
## This only works for subdirectories one level deep.
Apr 14, 2002
Apr 14, 2002
13
DIST_SUBDIRS = $(SUBDIRS)
Apr 26, 2001
Apr 26, 2001
14
15
16
17
18
19
20
21
# SDL runtime configuration script
bin_SCRIPTS = sdl-config
# All the rest of the distributed files
EXTRA_DIST = \
BUGS \
TODO \
Aug 24, 2002
Aug 24, 2002
22
23
24
COPYING \
CREDITS \
INSTALL \
Nov 22, 2001
Nov 22, 2001
25
26
27
README \
README.AmigaOS \
README.CVS \
Oct 5, 2002
Oct 5, 2002
28
README.DC \
Nov 22, 2001
Nov 22, 2001
29
30
31
README.Epoc \
README.MacOS \
README.MacOSX \
Feb 17, 2002
Feb 17, 2002
32
README.MiNT \
Nov 22, 2001
Nov 22, 2001
33
README.NanoX \
Aug 1, 2002
Aug 1, 2002
34
README.PicoGUI \
Jan 18, 2002
Jan 18, 2002
35
README.QNX \
Jun 1, 2002
Jun 1, 2002
36
README.Qtopia \
Nov 22, 2001
Nov 22, 2001
37
38
README.WinCE \
README-SDL.txt \
Aug 24, 2002
Aug 24, 2002
39
Borland.html \
Feb 13, 2002
Feb 13, 2002
40
Borland.zip \
Aug 24, 2002
Aug 24, 2002
41
42
VisualC.html \
VisualC.zip \
Oct 8, 2002
Oct 8, 2002
43
VisualC7.zip \
Aug 20, 2002
Aug 20, 2002
44
VisualCE.zip \
Oct 5, 2002
Oct 5, 2002
45
Makefile.dc \
Aug 24, 2002
Aug 24, 2002
46
MPWmake.sea.bin \
Apr 26, 2001
Apr 26, 2001
47
CWprojects.sea.bin \
Jun 10, 2001
Jun 10, 2001
48
PBProjects.tar.gz \
Dec 14, 2001
Dec 14, 2001
49
EpocBuildFiles.zip \
Aug 24, 2002
Aug 24, 2002
50
51
WhatsNew \
docs.html \
Mar 5, 2002
Mar 5, 2002
52
sdl.m4 \
Aug 24, 2002
Aug 24, 2002
53
54
55
SDL.spec \
autogen.sh \
strip_fPIC.sh
Apr 26, 2001
Apr 26, 2001
56
57
58
59
60
61
62
63
64
65
# M4 macro file for inclusion with autoconf
m4datadir = $(datadir)/aclocal
m4data_DATA = sdl.m4
# Rule to build tar-gzipped distribution package
$(PACKAGE)-$(VERSION).tar.gz: dist
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
Aug 9, 2001
Aug 9, 2001
66
rpm -ta $(PACKAGE)-$(VERSION).tar.gz
Apr 26, 2001
Apr 26, 2001
67
68
69
70
71
72
73
# Rule to rebuild the export lists for BeOS, MacOS and Win32.
exports:
(cd src/main/beos/exports; $(MAKE))
(cd src/main/macos/exports; $(MAKE))
(cd src/main/win32/exports; $(MAKE))
Jul 23, 2001
Jul 23, 2001
74
75
76
77
# Rule to build the Project Builder archive in MacOS X
PBProjects.tar.gz:
rm -f `find . -name .DS_Store`
if [ -d PBProjects ]; then \
Sep 4, 2001
Sep 4, 2001
78
tar zcvf $@ PBProjects; \
Jul 23, 2001
Jul 23, 2001
79
80
fi
Apr 26, 2001
Apr 26, 2001
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Rule to force automake to rebuild the library
changed:
@echo "This build target is no longer necessary"
# Rule to install the libraries only - prevent rebuilding apps
install-lib:
cd src && $(MAKE) install-libLTLIBRARIES
# Run ldconfig after installing the library:
install-hook:
-ldconfig
# Grab the test programs for the distribution:
dist-hook:
if test -f test/Makefile; then (cd test; make distclean); fi
Aug 9, 2001
Aug 9, 2001
96
cp -rp $(srcdir)/test $(distdir)
Apr 26, 2001
Apr 26, 2001
97
98
99
rm -rf `find $(distdir) -type d -name CVS -print`
# Create a CVS snapshot that people can run update -d on
May 17, 2002
May 17, 2002
100
CVSROOT = :pserver:guest@libsdl.org:/home/sdlweb/libsdl.org/cvs
Apr 26, 2001
Apr 26, 2001
101
102
snapshot:
cvs -d $(CVSROOT) login
Apr 26, 2001
Apr 26, 2001
103
104
105
cvs -d $(CVSROOT) checkout SDL12
(cd SDL12 && ./autogen.sh)
mv SDL12 SDL-1.2
Apr 26, 2001
Apr 26, 2001
106
107
tar zcvf $(HOME)/SDL-1.2.tar.gz SDL-1.2
rm -rf SDL-1.2