kopia lustrzana https://github.com/Hamlib/Hamlib
Finally allow VPATH building.
We need to chdir in source dir, otherwise rpcgen hardcodes rpcrig.h path of the source .x file. sigh. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1573 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.0
rodzic
a28708f8b7
commit
1650d35fba
|
@ -36,22 +36,23 @@ 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 $@
|
||||
$(RPCGEN) -l -C `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -l -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
|
||||
rpcrig_svc.c: Makefile rpcrig.x
|
||||
rm -f $@
|
||||
$(RPCGEN) -m -C `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -m -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
|
||||
# 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 $@
|
||||
$(RPCGEN) -c -C `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
|
||||
rpcrig_xdr_lt.c: Makefile rpcrig.x
|
||||
rm -f $@
|
||||
$(RPCGEN) -c -C `test -f rpcrig.x || echo '$(srcdir)/'`rpcrig.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrig.x -o $(top_builddir)/rpcrig/$@
|
||||
|
||||
|
|
|
@ -37,22 +37,23 @@ 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 $@
|
||||
$(RPCGEN) -l -C `test -f rpcrot.x || echo '$(srcdir)/'`rpcrot.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -l -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
|
||||
rpcrot_svc.c: Makefile rpcrot.x
|
||||
rm -f $@
|
||||
$(RPCGEN) -m -C `test -f rpcrot.x || echo '$(srcdir)/'`rpcrot.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -m -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
|
||||
# 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 $@
|
||||
$(RPCGEN) -c -C `test -f rpcrot.x || echo '$(srcdir)/'`rpcrot.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
|
||||
rpcrot_xdr_lt.c: Makefile rpcrot.x
|
||||
rm -f $@
|
||||
$(RPCGEN) -c -C `test -f rpcrot.x || echo '$(srcdir)/'`rpcrot.x -o $@
|
||||
cd $(srcdir) && $(RPCGEN) -c -C rpcrot.x -o $(top_builddir)/rpcrot/$@
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue