Let the config framework compiled together with SER core
[sip-router] / Makefile.sources
1 #
2 # $Id$
3 #
4 # common Makefile variables 
5 # (source files, objs, etc)
6
7
8 #
9 # expects: auto_gen defined
10 #
11 # defines: sources, objs, depends
12 #
13
14 sources=$(filter-out $(auto_gen), $(wildcard *.c) $(wildcard mem/*.c) \
15                 $(wildcard parser/*.c) $(wildcard parser/digest/*.c) \
16                 $(wildcard parser/contact/*.c) $(wildcard db/*.c) \
17                 $(wildcard rand/*.c) $(wildcard rand/isaac/*.c) ) \
18                 $(wildcard cfg/*.c) $(auto_gen)
19 ifeq ($(CORE_TLS), 1)
20         sources+= $(wildcard tls/*.c)
21 endif
22 objs=$(sources:.c=.o)
23 extra_objs=
24 depends=$(sources:.c=.d)
25 modules=
26 static_modules=
27 static_modules_path=