~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to GCalendar/Makefile.am

Merge non-b0rked GCal & Vinagre plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
EXTRA_DIST =    \
 
2
                        DoGCal.cs GCalendarItemSource.cs \
 
3
                        GCalendarItem.cs GCalendarEventItem.cs \
 
4
                        GCalendarSearchEvents.cs GCalendarNewEvent.cs \
 
5
                        Google.GData.AccessControl.dll Google.GData.Calendar.dll \
 
6
                        Google.GData.Client.dll Google.GData.Extensions.dll
 
7
 
 
8
 
 
9
ASSEMBLY_NAME=GCalendar
 
10
ASSEMBLY=$(ASSEMBLY_NAME).dll
 
11
 
 
12
CSFLAGS+= -debug+ -debug:full
 
13
 
 
14
CLEANFILES = $(ASSEMBLY){,.mdb}
 
15
 
 
16
gcalendar_google_references = \
 
17
    Google.GData.AccessControl.dll Google.GData.Calendar.dll \
 
18
    Google.GData.Client.dll Google.GData.Extensions.dll
 
19
        
 
20
gcalendar_google_build_reference = $(addprefix -r:$(srcdir)/,$(gcalendar_google_references))
 
21
 
 
22
gcalendar_references = $(DO_ADDINS_LIBS) $(DO_LIBS) -r:System $(NDESK_DBUS_LIBS) \
 
23
        $(GCONF_SHARP_LIBS) $(gcalendar_google_build_reference)
 
24
 
 
25
gcalendar_sources  =    \
 
26
                        DoGCal.cs GCalendarItemSource.cs \
 
27
                        GCalendarItem.cs GCalendarEventItem.cs \
 
28
                        GCalendarSearchEvents.cs GCalendarNewEvent.cs
 
29
 
 
30
gcalendar_build_sources = $(addprefix $(srcdir)/, $(gcalendar_sources))
 
31
 
 
32
plugin_DATA = $(ASSEMBLY)
 
33
 
 
34
all: $(ASSEMBLY)
 
35
 
 
36
$(ASSEMBLY): $(gcalendar_sources)
 
37
        $(CSC) $(CSFLAGS) $(gcalendar_references) -target:library -out:$@ $(gcalendar_build_sources)