35 SRC += utils.c |
35 SRC += utils.c |
36 SRC += davql.c |
36 SRC += davql.c |
37 |
37 |
38 OBJ = $(SRC:%.c=../build/libidav/%.$(OBJ_EXT)) |
38 OBJ = $(SRC:%.c=../build/libidav/%.$(OBJ_EXT)) |
39 |
39 |
40 all: libidav |
40 all: ../build/ucx ../build/libidav.$(LIB_EXT) |
41 |
41 |
42 libidav: $(OBJ) |
42 ../build/libidav.$(LIB_EXT): $(OBJ) |
43 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav.$(LIB_EXT) $(OBJ) |
43 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav.$(LIB_EXT) $(OBJ) |
44 |
44 |
45 ../build/libidav/%.$(OBJ_EXT): %.c ../build/ucx |
45 ../build/libidav/%.$(OBJ_EXT): %.c |
46 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $< |
46 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $< |
47 |
47 |
48 ../build/idav: |
48 ../build/idav: |
49 mkdir -p ../build/idav |
49 $(MKDIR) $(MKDIRFLAGS) ../build/idav |