* libdvdcss enhancements by Billy Biggs <vektor@dumbterm.net>. This breaks
[vlc.git] / plugins / glide / Makefile
blob68c1d6593f969e35994e48ab41e158845e76b855
1 ###############################################################################
2 # vlc (VideoLAN Client) glide module Makefile
3 # (c)2001 VideoLAN
4 ###############################################################################
7 # Objects
10 PLUGIN_GLIDE = glide.o vout_glide.o
11 BUILTIN_GLIDE = $(PLUGIN_GLIDE:%.o=BUILTIN_%.o)
13 ALL_OBJ = $(PLUGIN_GLIDE) $(BUILTIN_GLIDE)
16 # Virtual targets
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 $@ $<
30 # Real targets
33 ../../plugins/glide.so: $(PLUGIN_GLIDE)
34 $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GLIDE)
36 ../../plugins/glide.a: $(BUILTIN_GLIDE)
37 ar r $@ $^
38 $(RANLIB) $@