]> git.sesse.net Git - vlc/blob - plugins/gnome/Makefile
* Added .cvsignore files in the plugins directories.
[vlc] / plugins / gnome / Makefile
1 ###############################################################################
2 # vlc (VideoLAN Client) gnome module Makefile
3 # (c)2001 VideoLAN
4 ###############################################################################
5
6 -include ../../Makefile.modules
7
8 #
9 # Objects
10 #
11
12 PLUGIN_GNOME = gnome.o intf_gnome.o gnome_callbacks.o gnome_interface.o gnome_support.o
13 BUILTIN_GNOME = $(PLUGIN_GNOME:%.o=BUILTIN_%.o)
14
15 ALL_OBJ = $(PLUGIN_GNOME) $(BUILTIN_GNOME)
16
17 #
18 # Virtual targets
19 #
20
21 include ../../Makefile.common
22
23 $(PLUGIN_GNOME): %.o: .dep/%.d
24 $(PLUGIN_GNOME): %.o: %.c
25         $(CC) $(CFLAGS) $(PCFLAGS) `gnome-config --cflags gtk gnomeui` -c -o $@ $<
26
27 $(BUILTIN_GNOME): BUILTIN_%.o: .dep/%.d
28 $(BUILTIN_GNOME): BUILTIN_%.o: %.c
29         $(CC) $(CFLAGS) -DBUILTIN `gnome-config --cflags gtk gnomeui` -c -o $@ $<
30
31 #
32 # Real targets
33 #
34
35 ../../lib/gnome.so: $(PLUGIN_GNOME)
36         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_GNOME)
37
38 ../../lib/gnome.a: $(BUILTIN_GNOME)
39         ar r $@ $^
40