Changeset 614 in vbox for trunk/src/VBox/Frontends/VBoxSDL/Makefile
- Timestamp:
- Feb 5, 2007 1:07:44 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18243
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Makefile
r200 r614 28 28 # VBoxSDL 29 29 # 30 ## @todo isn't the main program template more appropriate? 31 VBoxSDL_TEMPLATE = VBOXR3NPEXE 30 ifneq ($(filter win linux,$(BUILD_TARGET)),) ## @todo Convert these two to the other template too! 31 VBoxSDL_TEMPLATE = VBOXR3NPEXE 32 VBoxSDL_CXXFLAGS.win = \ 33 -EHsc 34 VBoxSDL_CXXFLAGS.linux = \ 35 -DNDEBUG -DTRIMMED -DVBOX_WITH_XPCOM -O -Wall -fno-rtti -fno-exceptions \ 36 -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe 37 else 38 VBoxSDL_TEMPLATE = VBOXMAINCLIENT 39 endif 32 40 VBoxSDL_SDKS = LIBSDL 33 41 VBoxSDL_SOURCES = \ … … 41 49 win32/VBoxSDL.rc 42 50 endif 43 VBoxSDL_DEFS = IN_RING3 IN_RT_R3 _GNU_SOURCE51 VBoxSDL_DEFS = 44 52 ifdef VBOX_WITH_SECURELABEL 45 VBoxSDL_DEFS+= VBOX_SECURELABEL53 VBoxSDL_DEFS += VBOX_SECURELABEL 46 54 endif 47 55 ifdef VBOX_WITH_VRDP 48 VBoxSDL_DEFS += VBOX_VRDP 56 VBoxSDL_DEFS += VBOX_VRDP 57 endif 58 VBoxSDL_DEFS.linux = _GNU_SOURCE 59 ifdef VBOX_OPENGL 60 #VBoxSDL_DEFS.linux += VBOX_OPENGL 49 61 endif 50 62 ifndef VBOX_OSE 51 VBoxSDL_DEFS.win 63 VBoxSDL_DEFS.win = VBOX_WIN32_UI 52 64 endif 53 65 VBoxSDL_DEFS.win.x86 = _WIN32_WINNT=0x0500 54 66 VBoxSDL_DEFS.win.amd64 = _WIN32_WINNT=0x0510 55 ifdef VBOX_OPENGL56 #VBoxSDL_DEFS.linux = VBOX_OPENGL57 endif58 VBoxSDL_RCDEFS = \59 VBOX_VERSION_MAJOR=\"$(VBOX_VERSION_MAJOR)\" \60 VBOX_VERSION_MINOR=\"$(VBOX_VERSION_MINOR)\" \61 VBOX_VERSION_BUILD=\"$(VBOX_VERSION_BUILD)\"62 67 VBoxSDL_INCS = \ 63 $(PATH_VBoxSDL) \64 68 $(PATH_BIN)/sdk/include 65 VBoxSDL_INCS.win = \ 66 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) 67 VBoxSDL_INCS.linux = \ 69 ifdef VBOX_WITH_XPCOM 70 VBoxSDL_INCS = \ 68 71 $(PATH_BIN)/sdk/include \ 69 $(VBOX_XPCOM_INCS) 70 VBoxSDL_LIBS = \ 71 $(LIB_RUNTIME) 72 VBoxSDL_LIBS.win = \ 73 $(PATH_LIB)/VBoxCOM$(VBOX_SUFF_LIB) \ 74 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib 75 VBoxSDL_LIBS.linux = \ 72 $(VBOX_XPCOM_INCS) \ 73 $(PATH_VBoxSDL) 74 VBoxSDL_LIBS = \ 75 $(LIB_SDK_LIBSDL_SDLMAIN) \ 76 76 $(PATH_LIB)/VBoxXPCOM$(VBOX_SUFF_LIB) \ 77 77 $(LIB_RUNTIME) \ 78 $(PATH_BIN)/VBoxXPCOM.so \79 78 $(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB) \ 79 $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL) 80 VBoxSDL_LIBS.linux = \ 80 81 $(LIB_UUID) \ 81 82 $(LIB_XCURSOR) 83 VBoxSDL_LDFLAGS.darwin = \ 84 -framework Foundation -framework AppKit 85 else # !VBOX_WITH_XPCOM 86 VBoxSDL_INCS.win = \ 87 $(PATH_BIN)/sdk/include \ 88 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) \ 89 $(PATH_VBoxSDL) 90 VBoxSDL_LIBS.win = \ 91 $(PATH_LIB)/VBoxCOM$(VBOX_SUFF_LIB) \ 92 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib \ 93 $(LIB_RUNTIME) 94 endif # !VBOX_WITH_XPCOM 82 95 ifdef VBOX_OPENGL 83 #VBoxSDL_LIBS.linux += GL96 #VBoxSDL_LIBS.linux += GL 84 97 endif 85 98 VBoxSDL_LIBPATH.linux = \ 86 $(LIBPATH_XPCOM) \87 99 /usr/X11R6/lib 88 VBoxSDL_CXXFLAGS.win = \89 -EHsc90 VBoxSDL_CXXFLAGS.linux = \91 -DNDEBUG -DTRIMMED -O -Wall -fno-rtti -fno-exceptions \92 -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe93 100 94 101 VBoxSDL_CLEAN = $(PATH_VBoxSDL)/Ico64x01.h
Note:
See TracChangeset
for help on using the changeset viewer.