win32stdlib.flm 904 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
  2. # All rights reserved.
  3. # This component and the accompanying materials are made available
  4. # under the terms of the License "Eclipse Public License v1.0"
  5. # which accompanies this distribution, and is available
  6. # at the URL "http://www.eclipse.org/legal/epl-v10.html".
  7. #
  8. # Initial Contributors:
  9. # Nokia Corporation - initial contribution.
  10. #
  11. # Contributors:
  12. #
  13. # Description:
  14. # win32lib.flm
  15. # WINSCW Standard Static Library Function Like Makefile (FLM)
  16. # Build an emulator STDLIB
  17. #
  18. #
  19. ifeq ($(TARGETTYPE),stdlib)
  20. BASE_TYPE:=staticlib
  21. CW_STATIC_RUNTIME:=0
  22. FIXED_EXPORT:=
  23. LFLAGS:=$(subst -nostdlib,-stdlib,$(LFLAGS))
  24. OPEN_ENVIRONMENT:=1
  25. SUPPORTS_IMPORT_LIBRARY:=0
  26. # Use the general win32 FLM
  27. include $(FLMHOME)/win32.flm
  28. else
  29. $(error $win32stdlib.flm called with wrong TARGETTYPE (should be 'stdlib' but is '$(TARGETTYPE)'))
  30. endif