File: Makefile.am

package info (click to toggle)
notify-sharp-3.0 3.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 620 kB
  • ctags: 127
  • sloc: sh: 3,349; xml: 421; cs: 364; makefile: 86; ansic: 13
file content (46 lines) | stat: -rw-r--r-- 1,120 bytes parent folder | download | duplicates (2)
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