Skip to content
This repository
Newer
Older
100644 142 lines (120 sloc) 3.775 kb
2289aab0 »
2007-07-01 add: autoconf script. running configure is requited before calling ma…
1 AR=ar
4b565e04 »
2009-03-23 fixed: Missed an ar flag. Supposedly speeds up linking.
2 ARFLAGS=crus
eaa42346 »
2009-07-09 fixed: make clean distclean now removes directories as well as files.
3 RM=rm -rf
eb7c46e5 »
2011-02-07 remove all /bin/bash and replace them by @SHELL@ macro
4 SHELL=@SHELL@
70dd05cf »
2008-08-22 fixed: Don't use hardcoded path for libcurl.so.
5 ARCH=@ARCH@
2e694131 »
2008-07-09 OSX: Trying to get OSX to compile with ./configure, make
6 abs_top_srcdir=@abs_top_srcdir@
5b351f26 »
2011-10-15 changed: reduce some of the entering / leaving directory clutter duri…
7 rel_top_srcdir=$(subst $(abspath $(abs_top_srcdir))/,,$(abspath $(CURDIR))/)
6398b71d »
2008-05-05 added: support for --prefix in configure
8 prefix=@prefix@
e51acb49 »
2010-05-09 Allow the installation of files to be more configurable. Also fix the…
9 exec_prefix=@exec_prefix@
10 bindir=@bindir@
11 sbindir=@sbindir@
12 libexecdir=@libexecdir@
13 sysconfdir=@sysconfdir@
14 sharedstatedir=@sharedstatedir@
15 localstatedir=@localstatedir@
ee850c9c »
2010-05-14 Merge branch 'fhs'
16 libdir=@libdir@
e51acb49 »
2010-05-09 Allow the installation of files to be more configurable. Also fix the…
17 includedir=@includedir@
18 oldincludedir=@oldincludedir@
19 datarootdir=@datarootdir@
20 datadir=@datadir@
21 infodir=@infodir@
22 localedir=@localedir@
23 mandir=@mandir@
33342222 »
2010-07-11 fixed: set $PACKAGE_TARNAME as it may be referenced by @docdir@
24 PACKAGE_TARNAME=@PACKAGE_TARNAME@
e51acb49 »
2010-05-09 Allow the installation of files to be more configurable. Also fix the…
25 docdir=@docdir@
26 htmldir=@htmldir@
27 dvidir=@dvidir@
28 pdfdir=@pdfdir@
29 psdir=@psdir@
4e2aaf78 »
2007-12-25 changed: respect user set CXX/CC on when running configure
30 CXX=@CXX@
31 CC=@CC@
ef3c402c »
2009-03-22 merge: branches/quickbuildsystemfixup back into branches/linuxport
32 CXXFLAGS+=@CXXFLAGS@
32079e0c »
2009-02-24 change: add configure option --disable-optimizations and enable -O2 o…
33 CFLAGS+=@CFLAGS@
2cc18edf »
2010-07-11 fixed: missing LDFLAGS/CFLAGS when removed from environment
34 LDFLAGS+=@LDFLAGS@
7ee0bda5 »
2010-06-12 remove duplicate lib/include paths using sort
35 INCLUDES+=$(sort @INCLUDES@)
c51b1189 »
2011-01-24 Merged cptspiff's code-reshuffle branch.
36 INCLUDES+=-I@abs_top_srcdir@/lib
37 INCLUDES+=-I@abs_top_srcdir@/xbmc
e227b817 »
2011-02-01 removed: internal ffmpeg from includes when external is used
38 ifneq (@USE_EXTERNAL_FFMPEG@,1)
39 INCLUDES+=-I@abs_top_srcdir@/lib/ffmpeg
40 endif
c51b1189 »
2011-01-24 Merged cptspiff's code-reshuffle branch.
41 INCLUDES+=-I@abs_top_srcdir@/xbmc/linux
993b7436 »
2011-07-09 changed: win32 has dvdplayer root in include dir, so let's have that …
42 INCLUDES+=-I@abs_top_srcdir@/xbmc/cores/dvdplayer
32398f32 »
2009-01-20 update configure/makefile to build osx from command-line
43 DEFINES+= \
5fb63234 »
2011-06-13 prep for TARGET_xxx, move _LINUX into ARCH_DEFINES
44 @ARCH_DEFINES@ \
32398f32 »
2009-01-20 update configure/makefile to build osx from command-line
45 -D_FILE_DEFINED \
35f0a98c »
2010-06-03 changed: updated ffmpeg to r23426
46 -D__STDC_CONSTANT_MACROS \
ee850c9c »
2010-05-14 Merge branch 'fhs'
47 -DBIN_INSTALL_PATH="\"$(libdir)/xbmc\"" \
e51acb49 »
2010-05-09 Allow the installation of files to be more configurable. Also fix the…
48 -DINSTALL_PATH="\"$(datarootdir)/xbmc\"" \
32398f32 »
2009-01-20 update configure/makefile to build osx from command-line
49 @SDL_DEFINES@ \
ff4193c1 »
2009-05-31 merge: merge external-libraries-support into linuxport
50 @DEFS@ \
51
6fe18c36 »
2009-03-13 updated prep for powerpc-osx
52 ifeq ($(findstring osx,$(ARCH)), osx)
32398f32 »
2009-01-20 update configure/makefile to build osx from command-line
53 export MACOSX_DEPLOYMENT_TARGET=10.4
c51b1189 »
2011-01-24 Merged cptspiff's code-reshuffle branch.
54 INCLUDES+=-I@abs_top_srcdir@/xbmc/osx
32398f32 »
2009-01-20 update configure/makefile to build osx from command-line
55 endif
70dd05cf »
2008-08-22 fixed: Don't use hardcoded path for libcurl.so.
56
6fe18c36 »
2009-03-13 updated prep for powerpc-osx
57 ifeq ($(ARCH), powerpc-osx)
58 BUNDLE1_O=-lbundle1.o
59 endif
60
2a9841b9 »
2011-03-26 changed: silence compile output on linux
61 ifneq ($(V), 1)
5b351f26 »
2011-10-15 changed: reduce some of the entering / leaving directory clutter duri…
62 SILENT_CPP=@echo "CPP $(rel_top_srcdir)$@";
63 SILENT_CC =@echo "CC $(rel_top_srcdir)$@";
64 SILENT_S =@echo "S $(rel_top_srcdir)$@";
65 SILENT_GCH=@echo "GCH $(rel_top_srcdir)$@";
66 SILENT_MM =@echo "MM $(rel_top_srcdir)$@";
67 SILENT_AR =@echo "AR $(rel_top_srcdir)$@";
68 SILENT_LD =@echo "LD $(rel_top_srcdir)$@";
2a9841b9 »
2011-03-26 changed: silence compile output on linux
69 endif
70
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
71 OBJS+=$(filter %.o,$(SRCS:.cpp=.o))
72 OBJS+=$(filter %.o,$(SRCS:.c=.o))
73 OBJS+=$(filter %.o,$(SRCS:.S=.o))
74 OBJS+=$(filter %.o,$(SRCS:.mm=.o))
75 OBJS+=$(filter %.o,$(SRCS:.m=.o))
76
77 DEPS+=$(filter %.P,$(OBJS:.o=.P))
78
79 GEN_DEPS=\
80 cp $*.d $*.P \
81 && sed -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
82 -e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P \
83 && rm -f $*.d \
1f28471d »
2011-07-24 fixed: on compile failure we must still error code so make aborts
84 || ( rm -f $*.P $@ && exit 1 )
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
85
86 %.o: %.cpp
87 @rm -f $@
b4157b3f »
2011-07-28 fixed: linux build
88 $(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
89 && $(GEN_DEPS)
90
91 %.o: %.cc
92 @rm -f $@
05e6b240 »
2011-07-28 Use and display the correct compilers
93 $(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
94 && $(GEN_DEPS)
95
96 %.o: %.c
97 @rm -f $@
b4157b3f »
2011-07-28 fixed: linux build
98 $(SILENT_CC) $(CC) -MF $*.d -MD -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
99 && $(GEN_DEPS)
100
101 %.o: %.C
102 @rm -f $@
05e6b240 »
2011-07-28 Use and display the correct compilers
103 $(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
104 && $(GEN_DEPS)
105
106 %.o: %.S
107 @rm -f $@
108 $(SILENT_CC) $(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@
2a9841b9 »
2011-03-26 changed: silence compile output on linux
109
78a8d9cd »
2008-03-02 added python patches from sf.
110
b701e511 »
2007-05-07 added: precompiled header support for build system, speeds up compili…
111 %.h.gch : %.h
2a9841b9 »
2011-03-26 changed: silence compile output on linux
112 $(SILENT_GCH) $(CXX) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@
b701e511 »
2007-05-07 added: precompiled header support for build system, speeds up compili…
113
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
114 %.o: %.m
115 @rm -f $@
b4157b3f »
2011-07-28 fixed: linux build
116 $(SILENT_MM) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
117 && $(GEN_DEPS)
118
119 %.o: %.mm
120 @rm -f $@
b4157b3f »
2011-07-28 fixed: linux build
121 $(SILENT_MM) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
122 && $(GEN_DEPS)
32398f32 »
2009-01-20 update configure/makefile to build osx from command-line
123
f6d9b4a6 »
2007-05-01 Initial port to Linux/SDL
124
b6852faf »
2008-07-22 changed: separate out the evil recursive find of object files for dis…
125 .PHONY : lib pch clean distclean distclean_evil
f6d9b4a6 »
2007-05-01 Initial port to Linux/SDL
126
ef3c402c »
2009-03-22 merge: branches/quickbuildsystemfixup back into branches/linuxport
127 $(LIB): $(OBJS)
0c8bd213 »
2011-03-27 fixed: forgot to silence ar command
128 $(SILENT_AR) $(AR) $(ARFLAGS) $(LIB) $(OBJS)
f6d9b4a6 »
2007-05-01 Initial port to Linux/SDL
129
b701e511 »
2007-05-07 added: precompiled header support for build system, speeds up compili…
130 pch: $(PCH:.h=.h.gch)
309a5cd9 »
2009-07-09 fix: fixed problem with cleaning 'Project Mayhem III' directory.
131 for d in $(DIRS); do (cd "$$d"; $(MAKE) pch ); done
b701e511 »
2007-05-07 added: precompiled header support for build system, speeds up compili…
132
f6d9b4a6 »
2007-05-01 Initial port to Linux/SDL
133 clean:
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
134 $(RM) $(OBJS) *.o $(LIB) $(SLIB) $(CLEAN_FILES) $(PCH:.h=.h.gch) $(DEPS)
309a5cd9 »
2009-07-09 fix: fixed problem with cleaning 'Project Mayhem III' directory.
135 for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" clean); fi ); done
f6d9b4a6 »
2007-05-01 Initial port to Linux/SDL
136
24a22f6a »
2008-07-26 fixed: Cleaned up libid3tag build. Should rebuild from (dist)clean w/…
137 distclean:
afc1bf87 »
2011-07-23 fixed: make sure .P files get deleted on ctrl+C
138 $(RM) $(OBJS) *.o $(LIB) $(SLIB) $(STATICLIB) $(CLEAN_FILES) $(DISTCLEAN_FILES) $(PCH:.h=.h.gch) $(DEPS)
309a5cd9 »
2009-07-09 fix: fixed problem with cleaning 'Project Mayhem III' directory.
139 for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" distclean || $(MAKE) -C "$$d" clean); fi ); done
88b2c26d »
2010-01-22 Merge remote branch 'origin/gpl-compat'
140 if [ "$(shell pwd -P)" = "$(abs_top_srcdir)" ] || \
141 [ "$(shell pwd)" = "$(abs_top_srcdir)" ]; then rm -f $(AUTOGENERATED_MAKEFILES) Makefile.include Makefile; fi
Something went wrong with that request. Please try again.