Makefile 608 B

123456789101112131415161718192021222324252627
  1. # $OpenBSD: Makefile,v 1.15 2017/04/10 11:45:28 sthen Exp $
  2. COMMENT = n64 emulator core
  3. SHARED_LIBS = mupen64plus 2.3 # 2.5
  4. REVISION = 3
  5. # GPLv2+
  6. PERMIT_PACKAGE_CDROM = Yes
  7. WANTLIB = GL GLU c m ${LIBCXX} z freetype png pthread SDL2
  8. LIB_DEPENDS = devel/sdl2 \
  9. graphics/png \
  10. print/freetype
  11. MUPEN64PLUS_MOD = core
  12. # PIC #ifdef in src/r4300/x86/rjump.c:104 (taken as a result of PIE by
  13. # default) needs newer gcc
  14. MODULES = gcc4
  15. MODGCC4_ARCHS = i386
  16. MODGCC4_LANGS = c c++
  17. MAKE_FLAGS += TARGET=libmupen64plus.so.${LIBmupen64plus_VERSION} \
  18. SONAME=libmupen64plus.so
  19. .include <bsd.port.mk>