libidav/Makefile

changeset 287
99bcd7915a0d
parent 185
cd42cccee550
child 322
d2ca9c2a2fac
equal deleted inserted replaced
286:8dc2952dd5dc 287:99bcd7915a0d
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 ifdef CONF
29 include ../$(CONF).mk 30 include ../$(CONF).mk
31 endif
32 include ../cppcheck.mk
30 33
31 # list of source files 34 # list of source files
32 SRC = webdav.c 35 SRC = webdav.c
33 SRC += session.c 36 SRC += session.c
34 SRC += resource.c 37 SRC += resource.c
46 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ) 49 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ)
47 50
48 ../build/libidav/%$(OBJ_EXT): %.c 51 ../build/libidav/%$(OBJ_EXT): %.c
49 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $< 52 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $<
50 53
51 ../build/idav: 54 cppcheck: $(SRC)
52 $(MKDIR) $(MKDIRFLAGS) ../build/idav 55 $(CPPCHECK) $(CPPCHECK_CONFIG) $(CPPCHECK_FLAGS) -I../ $+ 2>> ../$(CPPCHECK_LOG)
56

mercurial