makefile.tstVBoxAPILinux revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
7183N/A#
7183N/A# tstVBoxAPILinux makefile
7183N/A#
7183N/A#
7183N/A# Copyright (C) 2006 InnoTek Systemberatung GmbH
7183N/A#
7183N/A# This file is part of VirtualBox Open Source Edition (OSE), as
7183N/A# available from http://www.virtualbox.org. This file is free software;
7183N/A# you can redistribute it and/or modify it under the terms of the GNU
7183N/A# General Public License as published by the Free Software Foundation,
7183N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
7183N/A# distribution. VirtualBox OSE is distributed in the hope that it will
7183N/A# be useful, but WITHOUT ANY WARRANTY of any kind.
7183N/A#
7183N/A# If you received this file as part of a commercial VirtualBox
7183N/A# distribution, then only the terms of your commercial VirtualBox
7183N/A# license agreement apply instead of the previous paragraph.
7183N/A#
7183N/A
7183N/APATH_XPCOM = ..
7183N/A
7183N/APATH_XPCOM_IDL = $(PATH_XPCOM)/idl
7183N/AINCS_XPCOM = $(PATH_XPCOM)/include \
7183N/A $(PATH_XPCOM)/include/xpcom/nsprpub \
7183N/A $(PATH_XPCOM)/include/xpcom/string \
7183N/A $(PATH_XPCOM)/include/xpcom/xpcom \
7183N/A $(PATH_XPCOM)/include/xpcom/ipcd
7183N/A
7183N/A#
7183N/A# Link with the public XPCOM libraries
7183N/A#
7183N/AtstVBoxAPILinux: tstVBoxAPILinux.o
7183N/A g++ -g -o $@ $(addprefix -L, $(LIBPATH_XPCOM)) $^ \
7183N/A ../lib/VBoxXPCOMGlue.a ../../VBoxXPCOM.so \
7183N/A -ldl -lpthread
7183N/A
7183N/AtstVBoxAPILinux.o: tstVBoxAPILinux.cpp
7183N/A g++ -c -g $(addprefix -I, $(INCS_XPCOM)) -o $@ tstVBoxAPILinux.cpp
7183N/A
7183N/Aclean:
7183N/A rm -f tstVBoxAPILinux tstVBoxAPILinux.o
7183N/A