libidav/Makefile

changeset 742
7e67689241fd
parent 475
52e4171d42ce
child 745
aea83a43b09a
equal deleted inserted replaced
741:e9a5dd08258d 742:7e67689241fd
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 CONF=gcc 29 BUILD_ROOT = ..
30 include ../$(CONF).mk 30
31 include ../cppcheck.mk 31 include ../config.mk
32 32
33 # list of source files 33 # list of source files
34 SRC = webdav.c 34 SRC = webdav.c
35 SRC += session.c 35 SRC += session.c
36 SRC += resource.c 36 SRC += resource.c
48 48
49 ../build/libidav$(LIB_EXT): $(OBJ) 49 ../build/libidav$(LIB_EXT): $(OBJ)
50 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ) 50 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ)
51 51
52 ../build/libidav/%$(OBJ_EXT): %.c 52 ../build/libidav/%$(OBJ_EXT): %.c
53 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx $(COFLAGS)$@ $< 53 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $<
54 54
55 cppcheck: $(SRC) 55 cppcheck: $(SRC)
56 $(CPPCHECK) $(CPPCHECK_CONFIG) $(CPPCHECK_FLAGS) -I../ucx $+ 2>> ../$(CPPCHECK_LOG) 56 $(CPPCHECK) $(CPPCHECK_CONFIG) $(CPPCHECK_FLAGS) -I../ucx $+ 2>> ../$(CPPCHECK_LOG)
57 57

mercurial