kopia lustrzana https://github.com/Hamlib/Hamlib
VPATH building, again
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1643 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.0
rodzic
543ceca1a8
commit
a29cf87414
|
@ -36,23 +36,28 @@ rpcrig.h: Makefile rpcrig.x
|
|||
rm -f $@
|
||||
$(RPCGEN) -h -C `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
|
||||
|
||||
|
||||
# Need to chdir in source dir, otherwise rpcgen hardcodes header path. sigh.
|
||||
rpcrig_clnt.c: Makefile rpcrig.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -l -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -l -C rpcrig.x -o $$abs_builddir/$@
|
||||
|
||||
rpcrig_svc.c: Makefile rpcrig.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -m -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -m -C rpcrig.x -o $$abs_builddir/$@
|
||||
|
||||
# note:
|
||||
# we need 2 rpcrig_xdr.c's: one for static rpcrig deamon, one for lt backend
|
||||
|
||||
rpcrig_xdr.c: Makefile rpcrig.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrig.x -o $$abs_builddir/$@
|
||||
|
||||
rpcrig_xdr_lt.c: Makefile rpcrig.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrig.x -o $$abs_builddir/$@
|
||||
|
||||
|
|
|
@ -37,23 +37,28 @@ rpcrot.h: Makefile rpcrot.x
|
|||
rm -f $@
|
||||
$(RPCGEN) -h -C `test -f rpcrot.x || echo '$(srcdir)/'`rpcrot.x -o $@
|
||||
|
||||
|
||||
# Need to chdir in source dir, otherwise rpcgen hardcodes header path. sigh.
|
||||
rpcrot_clnt.c: Makefile rpcrot.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -l -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -l -C rpcrot.x -o $$abs_builddir/$@
|
||||
|
||||
rpcrot_svc.c: Makefile rpcrot.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -m -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -m -C rpcrot.x -o $$abs_builddir/$@
|
||||
|
||||
# note:
|
||||
# we need 2 rpcrot_xdr.c's: one for static rpcrot deamon, one for lt backend
|
||||
|
||||
rpcrot_xdr.c: Makefile rpcrot.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrot.x -o $$abs_builddir/$@
|
||||
|
||||
rpcrot_xdr_lt.c: Makefile rpcrot.x
|
||||
rm -f $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
abs_builddir=`pwd` ; \
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrot.x -o $$abs_builddir/$@
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue