blob: d4d7c3db8b82163b8001eb46b5fcd9906b78d19d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
ASSEMBLY = notify-sharp
TARGET = $(ASSEMBLY).dll
CSFLAGS = \
-target:library
LIBFLAGS = \
-r:Mono.Posix \
$(GTK_SHARP_LIBS) \
$(DBUS_SHARP_LIBS)
CSFILES = \
$(srcdir)/Global.cs \
$(srcdir)/Notification.cs
all: $(TARGET)
$(TARGET): $(CSFILES) AssemblyInfo.cs
$(GMCS) -out:$@ $(CSFLAGS) $(LIBFLAGS) $^
install-data-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(libdir)"; \
$(GACUTIL) /i $(TARGET) /package $(ASSEMBLY)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
echo "$(GACUTIL) /u $(ASSEMBLY) /gacdir $(DESTDIR)$(libdir)"; \
$(GACUTIL) /u $(ASSEMBLY) /package $(ASSEMBLY)-$(API_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
fi
EXTRA_DIST = \
$(CSFILES) \
$(srcdir)/$(TARGET).config \
$(srcdir)/AssemblyInfo.cs.in \
$(srcdir)/notify-sharp.snk
CLEANFILES = \
$(TARGET)
DISTCLEANFILES = \
AssemblyInfo.cs
MAINTAINERCLEANFILES = \
Makefile.in
|