VirtualBox

source: vbox/trunk/src/VBox/Main/testcase/makefile.tstVBoxAPILinux@ 684

Last change on this file since 684 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1#
2# tstVBoxAPILinux makefile
3#
4#
5# Copyright (C) 2006 InnoTek Systemberatung GmbH
6#
7# This file is part of VirtualBox Open Source Edition (OSE), as
8# available from http://www.virtualbox.org. This file is free software;
9# you can redistribute it and/or modify it under the terms of the GNU
10# General Public License as published by the Free Software Foundation,
11# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
12# distribution. VirtualBox OSE is distributed in the hope that it will
13# be useful, but WITHOUT ANY WARRANTY of any kind.
14#
15# If you received this file as part of a commercial VirtualBox
16# distribution, then only the terms of your commercial VirtualBox
17# license agreement apply instead of the previous paragraph.
18#
19
20PATH_XPCOM = ..
21
22PATH_XPCOM_IDL = $(PATH_XPCOM)/idl
23INCS_XPCOM = $(PATH_XPCOM)/include \
24 $(PATH_XPCOM)/include/xpcom/nsprpub \
25 $(PATH_XPCOM)/include/xpcom/string \
26 $(PATH_XPCOM)/include/xpcom/xpcom \
27 $(PATH_XPCOM)/include/xpcom/ipcd
28
29#
30# Link with the public XPCOM libraries
31#
32tstVBoxAPILinux: tstVBoxAPILinux.o
33 g++ -g -o $@ $(addprefix -L, $(LIBPATH_XPCOM)) $^ \
34 ../lib/VBoxXPCOMGlue.a ../../VBoxXPCOM.so \
35 -ldl -lpthread
36
37tstVBoxAPILinux.o: tstVBoxAPILinux.cpp
38 g++ -c -g $(addprefix -I, $(INCS_XPCOM)) -o $@ tstVBoxAPILinux.cpp
39
40clean:
41 rm -f tstVBoxAPILinux tstVBoxAPILinux.o
Note: See TracBrowser for help on using the repository browser.

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