1 |
|
# |
2 |
|
# dotGNU Project |
3 |
|
# |
4 |
|
# $Id$ |
5 |
|
# |
6 |
|
prefix = @sandbox@@prefix@ |
7 |
|
|
8 |
|
# location of binaries |
9 |
|
CSCC = ${bindir}/cscc |
10 |
|
CSDOC = ${bindir}/csdoc |
11 |
|
ILRUN = ${bindir}/ilrun |
12 |
|
|
13 |
|
# binaries options |
14 |
|
CSCC_FLAGS = -g -Wall |
15 |
|
CSDOC_FLAGS = |
16 |
|
ILRUN_FLAGS = |
17 |
|
|
18 |
|
# libraries |
19 |
|
LPATH = -L.. |
20 |
|
LIBS = $(LPATH) -lSystem -lSystem.Web |
21 |
|
|
22 |
|
TARGET = System.Web.Services.dll |
23 |
|
|
24 |
|
SRC = WebService.cs \ |
25 |
|
WebMethodAttribute.cs \ |
26 |
|
WebServiceAttribute.cs |
27 |
|
|
28 |
|
.PHONY: all directories install clean distclean |
29 |
|
|
30 |
|
all: ../System.Web.dll $(TARGET) |
31 |
|
|
32 |
|
$(TARGET): $(SRC) |
33 |
|
$(CSCC) $(CSCC_FLAGS) -shared -o $@ $^ $(LIBS) |
34 |
|
|
35 |
|
../System.Web.dll: |
36 |
|
$(MAKE) -C .. System.Web.dll |
37 |
|
|
38 |
|
test: all |
39 |
|
|
40 |
|
directories: |
41 |
|
|
42 |
|
install: |
43 |
|
$(mkinstalldirs) $(DESTDIR)$(pkglibdir) |
44 |
|
$(INSTALL) -c $(TARGET) $(DESTDIR)$(pkglibdir) |
45 |
|
|
46 |
|
clean: |
47 |
|
rm -f $(TARGET) |
48 |
|
rm -f *.o |
49 |
|
rm -f *.dll |
50 |
|
rm -rf *.obj |
51 |
|
|
52 |
|
distclean: clean |
53 |
|
rm -f Makefile |
54 |
|
rm -f *~ |
55 |
|
rm -f \#* |