1
0

Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= ORBit2
  5. PKG_VERSION:= 2.14.19
  6. PKG_EXTRAVER:= 2.14
  7. PKG_RELEASE:= 5
  8. PKG_MD5SUM:= 87c69c56c6d0bdafa4de5e18ae115cc9
  9. PKG_DESCR:= a CORBA 2.4-compliant Object Request Broker
  10. PKG_SECTION:= libs
  11. PKG_BUILDDEP:= gettext-tiny glib-host libIDL-host glib libIDL
  12. PKG_URL:= http://projects.gnome.org/ORBit2/
  13. PKG_SITES:= ftp://ftp.gnome.org//pub/gnome/sources/ORBit2/${PKG_EXTRAVER}/
  14. PKG_LIBNAME:= orbit2
  15. PKG_OPTS:= dev
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CFLAGS_FOR_BUILD+= $(shell PATH=$(HOST_PATH) libIDL-config-2 --cflags)
  19. LDFLAGS_FOR_BUILD+= -static
  20. LIBS_FOR_BUILD:= $(shell PATH=$(HOST_PATH) libIDL-config-2 --libs)
  21. LIBS_FOR_BUILD+= -lgmodule-2.0 -ldl -lpthread -lrt -lglib-2.0
  22. XAKE_FLAGS+= LIBS_FOR_BUILD="${LIBS_FOR_BUILD}"
  23. CONFIGURE_ENV+= ac_cv_alignof_CORBA_octet=1 \
  24. ac_cv_alignof_CORBA_boolean=1 \
  25. ac_cv_alignof_CORBA_char=1 \
  26. ac_cv_alignof_CORBA_wchar=2 \
  27. ac_cv_alignof_CORBA_short=2 \
  28. ac_cv_alignof_CORBA_long=4 \
  29. ac_cv_alignof_CORBA_long_long=4 \
  30. ac_cv_alignof_CORBA_float=4 \
  31. ac_cv_alignof_CORBA_double=4 \
  32. ac_cv_alignof_CORBA_long_double=4 \
  33. ac_cv_alignof_CORBA_struct=1 \
  34. ac_cv_alignof_CORBA_pointer=4 \
  35. ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=no
  36. orbit2-install:
  37. $(INSTALL_DIR) $(IDIR_ORBIT2)/usr/lib
  38. $(INSTALL_BIN) $(WRKINST)/usr/lib/libORBit*.so* \
  39. $(IDIR_ORBIT2)/usr/lib
  40. $(INSTALL_DIR) $(STAGING_TARGET_DIR)/usr/bin
  41. $(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
  42. $(STAGING_TARGET_DIR)/usr/bin
  43. include ${TOPDIR}/mk/pkg-bottom.mk