# # dotGNU Project # # $Id: Makefile.am,v 1.1.4.1 2003/08/11 16:14:53 npg Exp $ # prefix = @sandbox@@prefix@ # location of binaries CSCC = ${bindir}/cscc CSDOC = ${bindir}/csdoc ILRUN = ${bindir}/ilrun # binaries options CSCC_FLAGS = -g -Wall CSDOC_FLAGS = ILRUN_FLAGS = # libraries SYSTEM_WEB_SRV_DIR = ../../../System/Web/Services SYSTEM_WEB_DIR = ../../../System/Web DOTGNU_XMLRPC_DIR = ../../XmlRpc LPATH = -L. -L$(DOTGNU_XMLRPC_DIR) -L$(SYSTEM_WEB_SRV_DIR) -L$(SYSTEM_WEB_DIR) LIBS = $(LPATH) -lSystem.Xml -lSystem.Web -lSystem.Web.Services -lDotGNU.XmlRpc # for the time being we'll do it this way until more stoof pops up in # the DGEE namespace TARGET = ../DotGNU.DGEE.dll XMLRPCSERVICE_DIR = XmlRpc XMLRPCSERVICE = $(XMLRPCSERVICE_DIR)/XmlRpcService.exe SRC = IProtocolHandler.cs ProtocolService.cs .PHONY: all directories install clean distclean all: $(TARGET) $(XMLRPCSERVICE) $(TARGET): $(SRC) $(CSCC) $(CSCC_FLAGS) -shared -o $@ $^ $(LIBS) $(XMLRPCSERVICE): $(TARGET) $(MAKE) -C $(XMLRPCSERVICE_DIR) directories: install: $(mkinstalldirs) $(DESTDIR)$(pkglibdir) $(INSTALL) -c $(TARGET) $(DESTDIR)$(pkglibdir) clean: $(MAKE) -C $(XMLRPCSERVICE_DIR) $@ rm -f $(TARGET) rm -f *.o rm -f *.dll rm -rf *.obj distclean: clean $(MAKE) -C $(XMLRPCSERVICE_DIR) $@ rm -f Makefile rm -f *~ rm -f \#*