> OK, so according to Chris, Solaris might have a broken make that
> doesn't understand $(wildcard foo).
Ok, but I'm using GNU Make 3.77?!
> Let's test that. First, do your normal "configure and make motif",
> then create a file in src/motif called foo.makefile that contains
> this:
>
> OTHER_OBJS := $(wildcard ../../lib/Xbae-4.6.2-linas/src/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../lib/ComboBox-1.33/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../src/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../src/engine/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/register/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../src/reports/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/guile/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/swig/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/g-wrap/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/g-wrap/obj/motif/*.o)
>
> dummy-target:
> echo "[" ${OTHER_OBJS} "]"
>
> (Note that there must be a real tab before the echo command, no
> spaces.)
>
> and then cd to src/motif and run "make -f foo.makefile dummy-target and
> tell me what happens.
Here's the output
foo.makefile:13: *** missing separator. Stop.
Running a truss on the process shows:
5417: stat64("../../lib/Xbae-4.6.2-linas/src/obj/motif", 0x08046A60) = 0
5417: open64("../../lib/Xbae-4.6.2-linas/src/obj/motif", O_RDONLY|O_NDELAY)
= 4
5417: stat64("../../lib/ComboBox-1.33/obj/motif", 0x08046A68) = 0
5417: open64("../../lib/ComboBox-1.33/obj/motif", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/obj/motif", 0x08046A78) = 0
5417: open64("../../src/obj/motif", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/engine/obj", 0x08046A74) = 0
5417: open64("../../src/engine/obj", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/register/obj/motif", 0x08046A6C) = 0
5417: open64("../../src/register/obj/motif", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/reports/obj", 0x08046A74) = 0
5417: open64("../../src/reports/obj", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/guile/obj", 0x08046A78) = 0
5417: open64("../../src/guile/obj", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/swig/obj", 0x08046A78) = 0
5417: open64("../../src/swig/obj", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/g-wrap/obj", 0x08046A74) = 0
5417: open64("../../src/g-wrap/obj", O_RDONLY|O_NDELAY) = 4
5417: stat64("../../src/g-wrap/obj/motif", 0x08046A70) = 0
5417: open64("../../src/g-wrap/obj/motif", O_RDONLY|O_NDELAY) = 4
5417: fcntl(4, F_SETFD, 0x00000001) = 0
5417: fstat64(4, 0x080469BC) = 0
5417: getdents64(4, 0x08071500, 1048) = 96
5417: getdents64(4, 0x08071500, 1048) = 0
5417: close(4) = 0
5417: write(2, " f o o . m a k e f i l e", 12) = 12
5417: write(2, " : 1 3", 3) = 3
5417: write(2, " : * * * ", 6) = 6
5417: write(2, " m i s s i n g s e p a".., 17) = 17
5417: write(2, " . S t o p .\n", 9) = 9
5417: chdir("/xacc/src/motif") = 0
5417: llseek(0, 0, SEEK_CUR) = 1652878
5417: llseek(3, 0xFFFFFFFFFFFFFFFE, SEEK_CUR) = 634
5417: llseek(0, 0, SEEK_CUR) = 1652878
5417: llseek(3, 0, SEEK_CUR) = 634
5417: _exit(2)
> (Also first check to see that there are actually some .o files in the
> directories listed above. If not, then the problem may lie with
> make's pattern dependencies and not wildcard...)
find . -name *.o -exec ls -l {} \;
./lib/ComboBox-1.33/obj/motif/ComboBox.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Converters.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Actions.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Caption.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Cell.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Clip.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Create.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Draw.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Matrix.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Methods.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Public.o
./lib/Xbae-4.6.2-linas/src/obj/motif/ScrollMgr.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Shadow.o
./lib/Xbae-4.6.2-linas/src/obj/motif/Utils.o
./lib/g-wrap/g-scan/g-scan.o
./lib/g-wrap/guile/g-wrap-fns.o
./src/engine/obj/LedgerUtils.o
./src/engine/obj/AccInfo.o
./src/engine/obj/Account.o
./src/engine/obj/DateUtils.o
./src/engine/obj/FileIO.o
./src/engine/obj/Group.o
./src/engine/obj/QIFIO.o
./src/engine/obj/Query.o
./src/engine/obj/Queue.o
./src/engine/obj/Scrub.o
./src/engine/obj/Session.o
./src/engine/obj/Transaction.o
./src/engine/obj/TransLog.o
./src/engine/obj/date.o
./src/engine/obj/util.o
./src/g-wrap/obj/motif/gnc.o
./src/g-wrap/obj/gnc-helpers.o
./src/guile/obj/gnucash.o
./src/motif/obj/motif/AccountMenu.o
./src/motif/obj/motif/AccWindow.o
./src/motif/obj/motif/AdjBWindow.o
./src/motif/obj/motif/BuildMenu.o
./src/motif/obj/motif/FileBox.o
./src/motif/obj/motif/HelpWindow.o
./src/motif/obj/motif/MainWindow.o
./src/motif/obj/motif/PriceMenu.o
./src/motif/obj/motif/RecnWindow.o
./src/motif/obj/motif/RegWindow.o
./src/motif/obj/motif/Reports.o
./src/motif/obj/motif/TextBox.o
./src/motif/obj/motif/XferWindow.o
./src/motif/obj/motif/top-level.o
./src/motif/obj/motif/xtutil.o
./src/motif/obj/motif/scripts_menu.o
./src/register/obj/motif/quickfillcell.o
./src/register/obj/motif/basiccell.o
./src/register/obj/motif/cellblock.o
./src/register/obj/motif/datecell.o
./src/register/obj/motif/pricecell.o
./src/register/obj/motif/QuickFill.o
./src/register/obj/motif/table-motif.o
./src/register/obj/motif/recncell.o
./src/register/obj/motif/splitreg.o
./src/register/obj/motif/table-allgui.o
./src/register/obj/motif/table-html.o
./src/register/obj/motif/textcell.o
./src/register/obj/motif/combocell-motif.o
./src/reports/obj/File.o
./src/reports/obj/Sheet.o
./src/swig/obj/helperfuncs.o
./src/obj/motif/MultiLedger.o
./src/obj/motif/SplitLedger.o
./src/obj/motif/Destroy.o
./src/obj/motif/FileDialog.o
alan
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body