ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gbioseq/trunk/Makefile.gbioseq
Revision: 1
Committed: Wed Dec 20 17:52:42 2006 UTC (18 years, 1 month ago) by tryphon
File size: 1151 byte(s)
Log Message:
Initial import.
Line User Rev File contents
1 tryphon 1 # This makefile is autogenerated by MonoDevelop
2     # Do not modify this file
3    
4     SOURCES = \
5     ./Main.cs \
6     ./MyWindow.cs \
7     ./AssemblyInfo.cs \
8     ./XmlBioSeqDocument.cs \
9     ./BioFileSelection.cs \
10     ./BioHPaned.cs \
11     ./BioSeqView.cs \
12     ./BioSeqBuffer.cs \
13     ./BioSeqNameView.cs
14    
15     RESOURCES = \
16     ./resources/a.svg \
17     ./resources/c.svg \
18     ./resources/g.svg \
19     ./resources/space.svg \
20     ./resources/t.svg
21    
22     RESOURCES_BUILD = $(foreach res,$(RESOURCES), $(addprefix -resource:,$(res)),$(notdir $(res)))
23    
24     PKG_REFERENCES = \
25     gtk-sharp \
26     glade-sharp \
27     rsvg-sharp
28    
29     PKG_REFERENCES_BUILD = $(addprefix -pkg:, $(PKG_REFERENCES))
30    
31     PKG_REFERENCES_CHECK = $(addsuffix .pkgcheck, $(PKG_REFERENCES))
32    
33     MCS_OPTIONS =
34    
35     all: gbioseq.exe
36    
37     gbioseq.exe: $(SOURCES) $(RESOURCES)
38     mcs $(MCS_OPTIONS) -target:exe -out:"gbioseq.exe" $(RESOURCES_BUILD) $(PKG_REFERENCES_BUILD) $(SOURCES) \
39     && cp "gbioseq.exe" ./build/bin/.
40    
41     clean:
42     rm -f gbioseq.exe
43    
44     depcheck: PKG_depcheck
45    
46     PKG_depcheck: $(PKG_REFERENCES_CHECK)
47    
48     %.pkgcheck:
49     @echo -n Checking for package $(subst .pkgcheck,,$@)...
50     @if pkg-config --libs $(subst .pkgcheck,,$@) &> /dev/null; then \
51     echo yes; \
52     else \
53     echo no; \
54     exit 1; \
55     fi