aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalss/Makefile.in
blob: fe4de906adee472174430953c724cadb6055197b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
SOURCES = icalcluster.c icalstore.c icalcalendar.c
OBJECTS =  ${SOURCES:.c=.o}
INCLUDES = -I . -I.. -I../libical
CFLAGS =  -Wall @CFLAGS@  $(INCLUDES) @DEFS@ -DICAL_ERRORS_ARE_FATAL 
LIBS   = 
CC     = @CC@
AR     = @AR@ cr
RANLIB = @RANLIB@

prefix = @prefix@
PREFIX = ${prefix}
EXEC_PREFIX = @exec_prefix@
BIN_DIR = $(EXEC_PREFIX)/bin
LIB_DIR = $(EXEC_PREFIX)/lib
INCLUDE_DIR = $(PREFIX)/include

INSTALL        = @INSTALL@
INSTALL_DATA   = ${INSTALL} -m 644
INSTALL_PROGRAM= ${INSTALL} -m 755       

all: lib

lib: $(OBJECTS) 
    $(AR) libicalss.a $(OBJECTS)
    $(RANLIB) libicalss.a


clean:
    -/bin/rm -f *.o *.a
    -/bin/rm -f \#*
    -/bin/rm -f *~ Makefile.bak icalitip.tab.h icalitip.tab.c lex.yy.c
    -/bin/rm -f icaltest parser core output *.output

ci: clean
    ci -u *.c *.h *.l *.y Makefile.in

depend:
    @makedepend  -Y $(INCLUDES) $(SOURCES)


install:
    $(INSTALL_DATA) libicalss.a $(LIB_DIR)/libicalss.a;
    for i in `ls *.h`;  \
    do \
        $(INSTALL_DATA)  $$i $(INCLUDE_DIR)/$$i; \
    done;