VPATH building, again

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1643 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.0
Stéphane Fillod, F8CFE 2004-01-15 22:48:29 +00:00
rodzic 543ceca1a8
commit a29cf87414
2 zmienionych plików z 18 dodań i 8 usunięć

Wyświetl plik

@ -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/$@

Wyświetl plik

@ -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/$@