Constness changes
[melted] / src / modules / westley / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltwestley$(LIBSUF)
4
5 OBJS = factory.o \
6 consumer_westley.o \
7 producer_westley.o
8
9 CFLAGS += -I../../ `xml2-config --cflags`
10
11 LDFLAGS += `xml2-config --libs`
12
13 LDFLAGS+=-L../../framework -lmlt
14
15 SRCS := $(OBJS:.o=.c)
16
17 all: $(TARGET)
18
19 $(TARGET): $(OBJS)
20 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
21
22 depend: $(SRCS)
23 $(CC) -MM $(CFLAGS) $^ 1>.depend
24
25 distclean: clean
26 rm -f .depend
27
28 clean:
29 rm -f $(OBJS) $(TARGET)
30
31 install: all
32 install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
33 install -m 644 westley.dtd "$(DESTDIR)$(prefix)/share/mlt"
34
35 ifneq ($(wildcard .depend),)
36 include .depend
37 endif