1 ###############################################################################
2 # vlc (VideoLAN Client) glide module Makefile
4 ###############################################################################
10 PLUGIN_GLIDE
= glide.o vout_glide.o
11 BUILTIN_GLIDE
= $(PLUGIN_GLIDE
:%.o
=BUILTIN_
%.o
)
13 ALL_OBJ
= $(PLUGIN_GLIDE
) $(BUILTIN_GLIDE
)
19 include ..
/..
/Makefile.modules
21 $(PLUGIN_GLIDE
): %.o
: .dep
/%.d
22 $(PLUGIN_GLIDE
): %.o
: %.c
23 $(CC
) $(CFLAGS
) -DPLUGIN
$(PCFLAGS
) -I
/usr
/include/glide
-c
-o
$@
$<
25 $(BUILTIN_GLIDE
): BUILTIN_
%.o
: .dep
/%.d
26 $(BUILTIN_GLIDE
): BUILTIN_
%.o
: %.c
27 $(CC
) $(CFLAGS
) -DBUILTIN
-I
/usr
/include/glide
-c
-o
$@
$<
33 ..
/..
/plugins
/glide.so
: $(PLUGIN_GLIDE
)
34 $(CC
) $(PCFLAGS
) -o
$@
$^
$(PLCFLAGS
) $(LIB_GLIDE
)
36 ..
/..
/plugins
/glide.a
: $(BUILTIN_GLIDE
)