File: makefile.win32

package info (click to toggle)
gtk-sharp2 2.8.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 21,208 kB
  • ctags: 5,843
  • sloc: xml: 245,420; cs: 24,183; sh: 8,547; ansic: 2,739; makefile: 1,582; perl: 1,177
file content (37 lines) | stat: -rwxr-xr-x 887 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
DIRS=generator parser glib pango atk gdk gtk glade gtkdotnet
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
#pesky spaces - blame zbowling if this fails
PROGFILES=`cygpath \`cygpath -m -s "$(PROGRAMFILES)"\``

## --- C# Compiler ---
## Mono v1.1.3
#CSC=$(PROGFILES)/Mono-1.1.3/bin/mcs.bat /d:WIN32
##.NET v1.1.4322
CSC=$(ROOT)/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32

## --- GACUTIL ---
## .NET gacutil
#GACUTIL=gacutil.exe
## Mono gacutil
GACUTIL=gacutil.bat


all: windows

windows:
	for i in $(DIRS); do				\
		(cp gtk-sharp.snk $$i; cd $$i; CSC="$(CSC)" make -f makefile.win32) || exit 1;\
	done;

clean:
	for i in $(DIRS); do \
		(cd $$i; make -f makefile.win32 clean) || exit 1;\
	done;
	`rm -r lib` 

release: clean windows
	`mkdir -p lib` 
	find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;

gac: release
	find -iname "*-sharp.dll" -exec $(GACUTIL) /i \{\} \;