Changeset f60079b
- Timestamp:
- 2010-05-25T22:26:54Z (15 years ago)
- Branches:
- master
- Children:
- 4af3050
- Parents:
- 51a799e
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r51a799e rf60079b 110 110 @$(MAKE) -C $@ $(MAKECMDGOALS) 111 111 112 $(objects): %.o: %.c112 $(objects): %.o: $(SRCDIR)%.c 113 113 @echo '*' Compiling $< 114 114 @$(CC) -c $(CFLAGS) $< -o $@ -
bitlbee.h
r51a799e rf60079b 43 43 44 44 #if HAVE_CONFIG_H 45 #include "config.h"45 #include <config.h> 46 46 #endif 47 47 -
configure
r51a799e rf60079b 124 124 EOF 125 125 126 srcdir="$(dirname $0)" 127 if [ "$srcdir" != "." ]; then 128 echo 129 echo "configure script run from a different directory. Will create some symlinks..." 130 if [ ! -e Makefile -o -L Makefile ]; then 131 mkdir -p $(cd "$srcdir"; find . -type d) 132 find . -name Makefile -type l -print0 | xargs -0 rm 2> /dev/null 133 dst="$PWD" 134 cd "$srcdir" 135 for i in $(find . -name Makefile); do 136 ln -s "$PWD${i#.}" "$dst/$i"; 137 done 138 cd "$dst" 139 rm -rf .bzr 140 fi 141 142 echo "SRCDIR=$srcdir/" >> Makefile.settings 143 CFLAGS="$CFLAGS -I${dst}" 144 else 145 srcdir=$PWD 146 fi 147 126 148 cat<<EOF>config.h 127 149 /* BitlBee settings, generated by configure … … 161 183 162 184 echo CFLAGS=$CFLAGS >> Makefile.settings 163 echo CFLAGS+=-I `pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings185 echo CFLAGS+=-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I. >> Makefile.settings 164 186 165 187 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings -
doc/Makefile
r51a799e rf60079b 1 1 -include ../Makefile.settings 2 ifdef SRCDIR 3 SRCDIR := $(SRCDIR)doc/ 4 endif 2 5 3 6 all: -
doc/user-guide/Makefile
r51a799e rf60079b 1 1 -include ../../Makefile.settings 2 ifdef SRCDIR 3 SRCDIR := $(SRCDIR)doc/user-guide/ 4 endif 5 2 6 EXTRAPARANEWLINE = 1 3 7 # EXTRAPARANEWLINE = 0 -
lib/Makefile
r51a799e rf60079b 8 8 9 9 -include ../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)lib/ 12 endif 10 13 11 14 # [SH] Program variables … … 37 40 $(objects): ../Makefile.settings Makefile 38 41 39 $(objects): %.o: %.c42 $(objects): %.o: $(SRCDIR)%.c 40 43 @echo '*' Compiling $< 41 44 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/Makefile
r51a799e rf60079b 8 8 9 9 -include ../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/ 12 endif 10 13 11 14 # [SH] Program variables … … 49 52 $(objects): ../Makefile.settings Makefile 50 53 51 $(objects): %.o: %.c54 $(objects): %.o: $(SRCDIR)%.c 52 55 @echo '*' Compiling $< 53 56 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/jabber/Makefile
r51a799e rf60079b 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/jabber/ 12 endif 10 13 11 14 # [SH] Program variables … … 33 36 $(objects): ../../Makefile.settings Makefile 34 37 35 $(objects): %.o: %.c38 $(objects): %.o: $(SRCDIR)%.c 36 39 @echo '*' Compiling $< 37 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/msn/Makefile
r51a799e rf60079b 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/msn/ 12 endif 10 13 11 14 # [SH] Program variables … … 33 36 $(objects): ../../Makefile.settings Makefile 34 37 35 $(objects): %.o: %.c38 $(objects): %.o: $(SRCDIR)%.c 36 39 @echo '*' Compiling $< 37 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/oscar/Makefile
r51a799e rf60079b 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/oscar/ 12 CFLAGS += -I$(SRCDIR) 13 endif 10 14 11 15 # [SH] Program variables … … 33 37 $(objects): ../../Makefile.settings Makefile 34 38 35 $(objects): %.o: %.c39 $(objects): %.o: $(SRCDIR)%.c 36 40 @echo '*' Compiling $< 37 41 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/purple/Makefile
r51a799e rf60079b 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/purple/ 12 endif 10 13 11 14 # [SH] Program variables … … 33 36 $(objects): ../../Makefile.settings Makefile 34 37 35 $(objects): %.o: %.c38 $(objects): %.o: $(SRCDIR)%.c 36 39 @echo '*' Compiling $< 37 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/twitter/Makefile
r51a799e rf60079b 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/twitter/ 12 endif 10 13 11 14 # [SH] Program variables … … 33 36 $(objects): ../../Makefile.settings Makefile 34 37 35 $(objects): %.o: %.c38 $(objects): %.o: $(SRCDIR)%.c 36 39 @echo '*' Compiling $< 37 40 @$(CC) -c $(CFLAGS) $< -o $@ -
protocols/yahoo/Makefile
r51a799e rf60079b 8 8 9 9 -include ../../Makefile.settings 10 ifdef SRCDIR 11 SRCDIR := $(SRCDIR)protocols/yahoo/ 12 endif 10 13 11 14 # [SH] Program variables … … 33 36 $(objects): ../../Makefile.settings Makefile 34 37 35 $(objects): %.o: %.c38 $(objects): %.o: $(SRCDIR)%.c 36 39 @echo '*' Compiling $< 37 40 @$(CC) -c $(CFLAGS) $< -o $@ -
tests/Makefile
r51a799e rf60079b 1 1 -include ../Makefile.settings 2 ifdef SRCDIR 3 SRCDIR := $(SRCDIR)tests/ 4 endif 2 5 3 6 LFLAGS +=-lcheck … … 19 22 @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) 20 23 21 %.o: %.c24 %.o: $(SRCDIR)%.c 22 25 @echo '*' Compiling $< 23 26 @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracChangeset
for help on using the changeset viewer.