1 ###############################################################################
2 # vlc (VideoLAN Client) gnome module Makefile
4 ###############################################################################
6 include ../../Makefile.modules
8 ###############################################################################
10 ###############################################################################
11 PLUGIN_GNOME = gnome.o intf_gnome.o gnome_callbacks.o gnome_interface.o gnome_support.o
12 BUILTIN_GNOME = $(PLUGIN_GNOME:%.o=%-BUILTIN.o)
14 ALL_OBJ = $(PLUGIN_GNOME) $(BUILTIN_GNOME)
16 objects := $(PLUGIN_GNOME) $(BUILTIN_GNOME)
17 cdependancies := $(objects:%.o=.dep/%.d)
28 rm -f *.o *.moc *.bak *.builtin
33 $(cdependancies): %.d: FORCE
34 @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@
36 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile
38 $(PLUGIN_GNOME): %.o: .dep/%.d
39 $(PLUGIN_GNOME): %.o: %.c
40 $(CC) $(CFLAGS) $(PCFLAGS) `gnome-config --cflags gtk gnomeui` -c -o $@ $<
42 $(BUILTIN_GNOME): %-BUILTIN.o: .dep/%.d
43 $(BUILTIN_GNOME): %-BUILTIN.o: %.c
44 $(CC) $(CFLAGS) -DBUILTIN `gnome-config --cflags gtk gnomeui` -c -o $@ $<
49 ../../lib/gnome.so: $(PLUGIN_GNOME)
50 $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GNOME)
52 ../../lib/gnome.a: $(BUILTIN_GNOME)