Statistics
| Branch: | Revision:

grapes / src / Chunkiser / Makefile @ 3e01c751

History | View | Annotate | Download (833 Bytes)

1
ifndef BASE
2
BASE = ../..
3
else
4
vpath %.c $(BASE)/src/$(notdir $(CURDIR))
5
endif
6
CFGDIR ?= ..
7

    
8
OBJS = input-stream.o           \
9
       input-stream-dummy.o     \
10
       input-stream-dumb.o      \
11
       input-stream-udp.o       \
12
       output-stream.o          \
13
       output-stream-raw.o      \
14
       output-stream-udp.o      \
15
       output-stream-dummy.o 
16

    
17
ifdef FFDIR
18
OBJS += input-stream-avf.o output-stream-avf.o
19
ifdef GTK
20
OBJS += output-stream-play.o
21
endif
22
endif
23

    
24
all: libchunkiser.a
25

    
26
include $(BASE)/src/utils.mak
27
ifdef FFDIR
28
output-stream-avf.o: CPPFLAGS += -I$(FFDIR)
29
input-stream-avf.o: CPPFLAGS += -I$(FFDIR)
30
input-stream-ipb.o: CPPFLAGS += -I$(FFDIR)
31
output-stream-play.o: CPPFLAGS += -I$(FFDIR)
32
CPPFLAGS += -DAVF
33
ifdef GTK
34
output-stream-play.o: CPPFLAGS += `pkg-config --cflags gtk+-2.0`
35
CPPFLAGS += -DGTK
36
endif
37
endif