VPATH and distcheck fixes

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1233 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.4
Stéphane Fillod, F8CFE 2002-10-31 01:43:22 +00:00
rodzic 4dae87e285
commit 87803995c7
3 zmienionych plików z 19 dodań i 17 usunięć

Wyświetl plik

@ -8,7 +8,7 @@
#EXTRA_LTLIBRARIES = hamlibperl.la hamlibtcl.la
lib_LTLIBRARIES = hamlibperl.la hamlibtcl.la
INCLUDES = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@ -I@TCL_SRC_DIR@/generic
INCLUDES = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@ -I@TCL_SRC_DIR@/generic -I$(top_srcdir)/bindings
# Perl binding
#hamlibperl_la_INCLUDE = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@
@ -17,10 +17,11 @@ nodist_hamlibperl_la_SOURCES = hamlibperl_wrap.c
hamlibperl_la_LDFLAGS = -no-undefined -module
hamlibperl_la_LIBADD = ../src/libhamlib.la
BUILT_SOURCES = hamlibperl_wrap.c hamlibtcl_wrap.c
BUILT_SOURCES = hamlibperl_wrap.c hamlibtcl_wrap.c
DISTCLEANFILES = hamlibperl_wrap.c hamlibtcl_wrap.c
hamlibperl_wrap.c: hamlib.swg
swig -perl5 -shadow @INCLUDES@ -o $@ $<
swig -perl5 -shadow @INCLUDES@ -I$(top_srcdir)/bindings -o $@ $<
# Tcl binding
@ -31,7 +32,7 @@ hamlibtcl_la_LDFLAGS = -no-undefined -module @TCL_LIB_SPEC@
hamlibtcl_la_LIBADD = ../src/libhamlib.la
hamlibtcl_wrap.c: hamlib.swg
swig -tcl @INCLUDES@ -o $@ $<
swig -tcl @INCLUDES@ -I$(top_srcdir)/bindings -o $@ $<
rig.swg: ../include/hamlib/rig.h ../include/hamlib/riglist.h
rotator.swg: ../include/hamlib/rotator.h ../include/hamlib/rotlist.h

Wyświetl plik

@ -7,7 +7,8 @@
LDADD = ../src/libhamlib.la ../lib/libmisc.la @NET_LIBS@
DEPENDENCIES = ../src/libhamlib.la
BUILT_SOURCES=rpcrig_xdr.c rpcrig_svc.c rpcrig_xdr_lt.c rpcrig_clnt.c rpcrig.h
BUILT_SOURCES = rpcrig_xdr.c rpcrig_svc.c rpcrig_xdr_lt.c rpcrig_clnt.c rpcrig.h
DISTCLEANFILES = rpcrig_xdr.c rpcrig_svc.c rpcrig_xdr_lt.c rpcrig_clnt.c rpcrig.h
# The RPC server
sbin_PROGRAMS = rpc.rigd
@ -24,31 +25,30 @@ nodist_libhamlib_rpcrig_la_SOURCES = rpcrig_xdr_lt.c rpcrig_clnt.c rpcrig.h
libhamlib_rpcrig_la_LDFLAGS = -no-undefined -module -version-info 0:0:0
libhamlib_rpcrig_la_LIBADD = ../src/libhamlib.la @NET_LIBS@
EXTRA_DIST = rpcrig.x $(man_MANS)
RPCGEN = rpcgen
rpcrig.h: rpcrig.x
rm -f $@
$(RPCGEN) -h rpcrig.x -o $@
$(RPCGEN) -h `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
rpcrig_clnt.c: rpcrig.x rpcrig.h
rm -f $@
$(RPCGEN) -l rpcrig.x -o $@
$(RPCGEN) -l `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
rpcrig_svc.c: rpcrig.x rpcrig.h
rm -f $@
$(RPCGEN) -m rpcrig.x -o $@
$(RPCGEN) -m `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
# note:
# we need 2 rpcrig_xdr.c's: one for static rpcrig deamon, one for lt backend
rpcrig_xdr.c: rpcrig.x rpcrig.h
rm -f $@
$(RPCGEN) -c rpcrig.x -o $@
$(RPCGEN) -c `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
rpcrig_xdr_lt.c: rpcrig.x rpcrig.h
rm -f $@
$(RPCGEN) -c rpcrig.x -o $@
$(RPCGEN) -c `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@

Wyświetl plik

@ -7,7 +7,8 @@
LDADD = ../src/libhamlib.la ../lib/libmisc.la @NET_LIBS@
DEPENDENCIES = ../src/libhamlib.la
BUILT_SOURCES=rpcrot_xdr.c rpcrot_svc.c rpcrot_xdr_lt.c rpcrot_clnt.c rpcrot.h
BUILT_SOURCES = rpcrot_xdr.c rpcrot_svc.c rpcrot_xdr_lt.c rpcrot_clnt.c rpcrot.h
DISTCLEANFILES = rpcrot_xdr.c rpcrot_svc.c rpcrot_xdr_lt.c rpcrot_clnt.c rpcrot.h
# The RPC server
sbin_PROGRAMS = rpc.rotd
@ -31,24 +32,24 @@ RPCGEN = rpcgen
rpcrot.h: rpcrot.x
rm -f $@
$(RPCGEN) -h rpcrot.x -o $@
$(RPCGEN) -h `test -f rpcrig.x || echo '$(srcdir)/'`rpcrot.x -o $@
rpcrot_clnt.c: rpcrot.x rpcrot.h
rm -f $@
$(RPCGEN) -l rpcrot.x -o $@
$(RPCGEN) -l `test -f rpcrig.x || echo '$(srcdir)/'`rpcrot.x -o $@
rpcrot_svc.c: rpcrot.x rpcrot.h
rm -f $@
$(RPCGEN) -m rpcrot.x -o $@
$(RPCGEN) -m `test -f rpcrig.x || echo '$(srcdir)/'`rpcrot.x -o $@
# note:
# we need 2 rpcrot_xdr.c's: one for static rpcrot deamon, one for lt backend
rpcrot_xdr.c: rpcrot.x rpcrot.h
rm -f $@
$(RPCGEN) -c rpcrot.x -o $@
$(RPCGEN) -c `test -f rpcrig.x || echo '$(srcdir)/'`rpcrot.x -o $@
rpcrot_xdr_lt.c: rpcrot.x rpcrot.h
rm -f $@
$(RPCGEN) -c rpcrot.x -o $@
$(RPCGEN) -c `test -f rpcrig.x || echo '$(srcdir)/'`rpcrot.x -o $@