Skip to content

Commit

Permalink
remove xmlrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
joequant committed Apr 29, 2017
1 parent 9c6e56a commit dc0e546
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions unix/boot/spp/xc.c
Expand Up @@ -1256,6 +1256,9 @@ passflag: mkobject = YES;
arglist[nargs++] = mkfname (IRAFLIB6);
}
}
#ifdef HOST_XMLRPC
arglist[nargs++] = "-lxmlrpc";
#endif
#ifdef HOST_CURL
arglist[nargs++] = "-lcurl";
#endif
Expand Down
4 changes: 2 additions & 2 deletions unix/hlib/irafuser.csh
Expand Up @@ -120,7 +120,7 @@ case ipad:
breaksw

case linux64:
setenv HSI_CF "-g -O2 -I/usr/include -I${hlib}libc -DLINUX -DREDHAT -DPOSIX -DSYSV -DLINUX64 -DMACH64 -w -m64 -DNOLIBCNAMES -DHOST_F2C -DHOST_CURL -DHOST_EXPAT"
setenv HSI_CF "-g -O2 -I/usr/include -I${hlib}libc -DLINUX -DREDHAT -DPOSIX -DSYSV -DLINUX64 -DMACH64 -w -m64 -DNOLIBCNAMES -DHOST_F2C -DHOST_CURL -DHOST_EXPAT -DHOST_XMLRPC"
setenv HSI_XF "-g -Inolibc -w -/m64 -/Wunused"
setenv HSI_FF "-g -m64 -DBLD_KERNEL"
setenv HSI_LF "-m64 "
Expand All @@ -132,7 +132,7 @@ case linux64:

case linux:
case redhat:
setenv HSI_CF "-g -O2 -I/usr/include -I${hlib}libc -DLINUX -DREDHAT -DPOSIX -DSYSV -w -m32 -Wunused"
setenv HSI_CF "-g -O2 -I/usr/include -I${hlib}libc -DLINUX -DREDHAT -DPOSIX -DSYSV -w -m32 -Wunused -DHOST_F2C -DHOST_CURL -DHOST_EXPAT -DHOST_XMLRPC"
setenv HSI_XF "-Inolibc -w -/Wunused -/m32"
setenv HSI_FF "-O -DBLD_KERNEL -m32"
setenv HSI_LF "-m32"
Expand Down
2 changes: 0 additions & 2 deletions vendor/voclient/Makefile
Expand Up @@ -55,8 +55,6 @@ mylib:
(cd libsamp ; ${MAKE} .BASE lib ; cp *.h ../include ; cp *.a ../lib )
(cd libvoclient ; ${MAKE} install )
cp libsamp/cfitsio/*.h include
cp libsamp/libxrpc/*.h include
cp -r libsamp/libxrpc/include/xmlrpc-c include
(cd libvotable ; ${MAKE} install)
(cd voapps ; ${MAKE} lib ; cp *.a ../lib )
(rm -f *.o ; cd libvo ; ${MAKE} HOST_CURL=1 lib)
Expand Down
6 changes: 6 additions & 0 deletions vendor/voclient/libsamp/Makefile
Expand Up @@ -78,8 +78,11 @@ objs: $(OBJS) $(INCS)
clean:
/bin/rm -f *.o *.a *.e *.so .BASE $(APPS) __*
(cd examples ; make clean)
ifndef HOST_XMLRPC
(cd libxrpc ; make clean)
/bin/rm -rf libxrpc/lib/build/* libxrpc/lib/*.dylib
endif
(cd cfitsio ; make clean)
/bin/rm -f SWIG* libvot* php_libvot.h
/bin/rm -f sampJava.[co]
/bin/rm -f sampPerl.[co]
Expand Down Expand Up @@ -107,7 +110,10 @@ zztest: zztest.o $(OBJS) lib
####################################

.BASE:
ifndef HOST_XMLRPC
(cd libxrpc ; ./mklibs ; make install)
endif
#(cd cfitsio ; ./mklibs )
touch .BASE

lib: objs $(INCS)
Expand Down

0 comments on commit dc0e546

Please sign in to comment.