VirtualBox

Changeset 2449 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 2, 2007 11:16:56 AM (18 years ago)
Author:
vboxsync
Message:

Made APILinux example compile again. However, it currently does not work.

Location:
trunk/src/VBox/Main/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/Makefile

    r1 r2449  
    3838 samples_SOURCES = tstVBoxAPIWin.cpp
    3939else
    40  samples_SOURCES = tstVBoxAPILinux.cpp makefile.tstVBoxAPILinux
     40 samples_SOURCES = tstVBoxAPILinux.cpp makefile.tstVBoxAPILinux=>Makefile
    4141 ifdef VBOX_WITH_TESTCASES
    4242 samples_SYMLINKS = tstVBoxAPILinux=>../../../tstVBoxAPILinux
  • trunk/src/VBox/Main/testcase/makefile.tstVBoxAPILinux

    r1 r2449  
    1818#
    1919
    20 PATH_XPCOM     = ..
     20PATH_XPCOM     = ../..
     21PATH_BIN       = ../../..
    2122
    2223PATH_XPCOM_IDL = $(PATH_XPCOM)/idl
     
    3132#
    3233tstVBoxAPILinux: tstVBoxAPILinux.o
    33         g++ -g -o $@ $(addprefix -L, $(LIBPATH_XPCOM)) $^ \
    34                 ../lib/VBoxXPCOMGlue.a ../../VBoxXPCOM.so \
     34        g++ -g -o $@ $^ \
     35                $(PATH_XPCOM)/lib/VBoxXPCOMGlue.a \
     36                $(PATH_BIN)/VBoxXPCOM.so \
    3537                -ldl -lpthread
    3638
    3739tstVBoxAPILinux.o: tstVBoxAPILinux.cpp
    38         g++ -c -g $(addprefix -I, $(INCS_XPCOM)) -o $@ tstVBoxAPILinux.cpp
     40        g++ -c -D__LINUX__ -g $(addprefix -I, $(INCS_XPCOM)) -o $@ tstVBoxAPILinux.cpp
    3941
    4042clean:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette