/[dgee]/dgee/cslib/DotGNU/DGEE/Protocols/Makefile.am
ViewVC logotype

Diff of /dgee/cslib/DotGNU/DGEE/Protocols/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by npg, Tue Jul 29 11:22:40 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:55:47 2003 UTC
# Line 0  Line 1 
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    
20    SYSTEM_WEB_SRV_DIR = ../../../System/Web/Services
21    SYSTEM_WEB_DIR = ../../../System/Web
22    DOTGNU_XMLRPC_DIR = ../../XmlRpc
23    LPATH = -L. -L$(DOTGNU_XMLRPC_DIR) -L$(SYSTEM_WEB_SRV_DIR) -L$(SYSTEM_WEB_DIR)
24    LIBS  = $(LPATH) -lSystem.Xml -lSystem.Web -lSystem.Web.Services -lDotGNU.XmlRpc
25    
26    # for the time being we'll do it this way until more stoof pops up in
27    # the DGEE namespace
28    TARGET = ../DotGNU.DGEE.dll
29    
30    XMLRPCSERVICE_DIR = XmlRpc
31    XMLRPCSERVICE = $(XMLRPCSERVICE_DIR)/XmlRpcService.exe
32    
33    SRC = IProtocolHandler.cs ProtocolService.cs AssemblyContainer.cs RequestProc.cs
34    
35    .PHONY: all directories install clean distclean
36    
37    all: $(TARGET) $(XMLRPCSERVICE)
38    
39    $(TARGET): $(SRC)
40            $(CSCC) $(CSCC_FLAGS) -shared -o $@ $^ $(LIBS)
41    
42    $(XMLRPCSERVICE): $(TARGET)
43            $(MAKE) -C $(XMLRPCSERVICE_DIR)
44    
45    directories:
46    
47    install:
48            $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
49            $(INSTALL) -c $(TARGET) $(DESTDIR)$(pkglibdir)
50            $(INSTALL) -c $(XMLRPCSERVICE) $(DESTDIR)$(pkglibdir)
51    
52    clean:
53            $(MAKE) -C $(XMLRPCSERVICE_DIR) $@
54            rm -f $(TARGET)
55            rm -f *.o
56            rm -f *.dll
57            rm -rf *.obj
58    
59    distclean: clean
60            $(MAKE) -C $(XMLRPCSERVICE_DIR) $@
61            rm -f Makefile
62            rm -f *~
63            rm -f \#*

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26