# Entry Point of Unix Emulator\r
#\r
# Main executable file of Unix Emulator that loads PEI core after initialization finished.\r
-# Copyright (c) 2008, Intel Corporation\r
+# Copyright (c) 2008 - 2009, Intel Corporation\r
+# Portions copyright (c) 2008-2009 Apple Inc.\r
#\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
UnixThunk.c\r
FwVol.c\r
SecMain.c\r
- Stack.S\r
+ \r
+[Sources.Ia32] \r
+ Ia32/Gasket.S\r
+ Ia32/Stack.S\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
GCC:*_*_IA32_CC_FLAGS == -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -idirafter/usr/include -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings\r
GCC:*_*_IA32_PP_FLAGS == -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
GCC:*_*_IA32_ASM_FLAGS == -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
+\r
+#\r
+# Need to do this link via gcc and not ld as the pathing to libraries changes from OS version to OS version\r
+#\r
+ XCODE:*_*_IA32_DLINK_PATH == gcc\r
+ XCODE:*_*_IA32_DLINK_FLAGS == -arch i386 -L/usr/X11R6/lib -lXext -lX11 -lIOKit -framework Carbon \r
+ XCODE:*_*_IA32_ASM_FLAGS == -arch i386 -g\r