Last change
on this file since 89c11e7 was
17a6ee9,
checked in by Wilmer van der Gaast <wilmer@…>, at 2010-04-11T14:37:06Z
|
Including DCC stuff again, with a wonderful extra layer of abstraction.
Some hooks are missing so sending files doesn't work yet. Receiving also
still seems to have some issues. On the plus side, at least the MSN/Jabber
modules work again.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | ########################### |
---|
2 | ## Makefile for BitlBee ## |
---|
3 | ## ## |
---|
4 | ## Copyright 2002 Lintux ## |
---|
5 | ########################### |
---|
6 | |
---|
7 | ### DEFINITIONS |
---|
8 | |
---|
9 | -include ../Makefile.settings |
---|
10 | |
---|
11 | # [SH] Program variables |
---|
12 | objects = account.o bee.o bee_ft.o bee_user.o nogaim.o |
---|
13 | |
---|
14 | |
---|
15 | # [SH] The next two lines should contain the directory name (in $(subdirs)) |
---|
16 | # and the name of the object file, which should be linked into |
---|
17 | # protocols.o (in $(subdirobjs)). These need to be in order, i.e. the |
---|
18 | # first object file should be in the first directory. |
---|
19 | subdirs = $(PROTOCOLS) |
---|
20 | subdirobjs = $(PROTOOBJS) |
---|
21 | |
---|
22 | # Expansion of variables |
---|
23 | subdirobjs := $(join $(subdirs),$(addprefix /,$(subdirobjs))) |
---|
24 | CFLAGS += -Wall |
---|
25 | LFLAGS += -r |
---|
26 | |
---|
27 | # [SH] Phony targets |
---|
28 | all: protocols.o |
---|
29 | check: all |
---|
30 | lcov: check |
---|
31 | gcov: |
---|
32 | gcov *.c |
---|
33 | |
---|
34 | .PHONY: all clean distclean $(subdirs) |
---|
35 | |
---|
36 | clean: $(subdirs) |
---|
37 | rm -f *.o $(OUTFILE) core |
---|
38 | |
---|
39 | distclean: clean $(subdirs) |
---|
40 | |
---|
41 | $(subdirs): |
---|
42 | @$(MAKE) -C $@ $(MAKECMDGOALS) |
---|
43 | |
---|
44 | ### MAIN PROGRAM |
---|
45 | |
---|
46 | protocols.o: $(objects) $(subdirs) |
---|
47 | @echo '*' Linking protocols.o |
---|
48 | @$(LD) $(LFLAGS) $(objects) $(subdirobjs) -o protocols.o |
---|
49 | |
---|
50 | $(objects): ../Makefile.settings Makefile |
---|
51 | |
---|
52 | $(objects): %.o: %.c |
---|
53 | @echo '*' Compiling $< |
---|
54 | @$(CC) -c $(CFLAGS) $< -o $@ |
---|
Note: See
TracBrowser
for help on using the repository browser.