win32stddll.flm 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright (c) 2007-2010 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. # WINSCW Standard DLL Function Like Makefile (FLM)
  15. # Build an emulator STDDLL
  16. #
  17. #
  18. ifeq ($(TARGETTYPE),stddll)
  19. BASE_TYPE:=dll
  20. CFLAGS:=$(subst -inline off,,$(CFLAGS))
  21. CW_STATIC_RUNTIME:=0
  22. EXPORT_TYPE:=all
  23. FIRST_STATLIB:=
  24. FIXED_EXPORT:=
  25. LFLAGS:=$(subst -nostdlib,-stdlib,$(LFLAGS))
  26. LIBRARY:=$(LIBRARY) euser.lib backend.lib
  27. LIBRARY_DEBUG:=$(LIBRARY_DEBUG) euser.lib backend.lib
  28. NAME_LOOKUP:=-sym_name_lkup -export_entrypoint_E32Dll
  29. OPEN_ENVIRONMENT:=1
  30. SUPPORTS_IMPORT_LIBRARY:=1
  31. SYSTEM_TARGET:=0
  32. UID2_DEFAULT:=20004C45
  33. # Use the general win32 FLM
  34. include $(FLMHOME)/win32.flm
  35. else
  36. $(error $win32stddll.flm called with wrong TARGETTYPE (should be 'stddll' but is '$(TARGETTYPE)'))
  37. endif