~ubuntu-branches/debian/wheezy/vlc/wheezy

« back to all changes in this revision

Viewing changes to plugins/glide/Makefile

Tags: upstream-0.7.2.final
ImportĀ upstreamĀ versionĀ 0.7.2.final

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
###############################################################################
2
 
# vlc (VideoLAN Client) glide module Makefile
3
 
# (c)2001 VideoLAN
4
 
###############################################################################
5
 
 
6
 
#
7
 
# Objects
8
 
#
9
 
 
10
 
PLUGIN_GLIDE = glide.o vout_glide.o
11
 
BUILTIN_GLIDE = $(PLUGIN_GLIDE:%.o=BUILTIN_%.o)
12
 
 
13
 
ALL_OBJ = $(PLUGIN_GLIDE) $(BUILTIN_GLIDE)
14
 
 
15
 
#
16
 
# Virtual targets
17
 
#
18
 
 
19
 
include ../../Makefile.modules
20
 
 
21
 
$(PLUGIN_GLIDE): %.o: .dep/%.d
22
 
$(PLUGIN_GLIDE): %.o: %.c
23
 
        $(CC) $(CFLAGS) -DPLUGIN $(PCFLAGS) -I/usr/include/glide -c -o $@ $<
24
 
 
25
 
$(BUILTIN_GLIDE): BUILTIN_%.o: .dep/%.d
26
 
$(BUILTIN_GLIDE): BUILTIN_%.o: %.c
27
 
        $(CC) $(CFLAGS) -DBUILTIN -I/usr/include/glide -c -o $@ $<
28
 
 
29
 
#
30
 
# Real targets
31
 
#
32
 
 
33
 
../glide.so: $(PLUGIN_GLIDE)
34
 
        $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GLIDE)
35
 
 
36
 
../glide.a: $(BUILTIN_GLIDE)
37
 
        ar r $@ $^
38
 
        $(RANLIB) $@
39