Fix compile problem in srw (when srw is disabled)
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 15 Jan 2003 14:26:55 +0000 (14:26 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 15 Jan 2003 14:26:55 +0000 (14:26 +0000)
srw/Makefile.am

index bb4c9fc..13b9a7f 100644 (file)
@@ -1,9 +1,10 @@
-# $Id: Makefile.am,v 1.1 2003-01-06 08:20:28 adam Exp $
+# $Id: Makefile.am,v 1.2 2003-01-15 14:26:55 adam Exp $
 AM_CPPFLAGS = -I$(top_srcdir)/include $(GSOAP_INCLUDE) $(XSLT_CFLAGS)
 
+EXTRA_DIST = zing.h
+
 if SRW
 noinst_LTLIBRARIES = libsrw.la
-endif
 
 libsrw_la_SOURCES = srw_C.c srw-namespace.c srw-xcql.c srw-xslt.c srw_Client.c srw-diag.c srw-server.c srw_Server.c
 
@@ -11,8 +12,6 @@ include_HEADERS = srw_H.h srw_Stub.h
 
 LDADD = $(GSOAP_LIB)
 
-EXTRA_DIST = zing.h
-
 # Dependency for stdsoap2.h needed!
 stdsoap2.h srw_C.c srw_Client.c srw_Server.c srw_H.h srw_Stub.h: zing.h
        $(GSOAP_PREFIX)/bin/soapcpp2 -p srw_ -c zing.h
@@ -25,4 +24,4 @@ srw_Client.o: soapClient.c
        $(COMPILE) -c srw_Client.c 
 srw_Server.o: srw_Server.c
        $(COMPILE) -c srw_Server.c 
-
+endif