ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

tinyxserver.mk (545B)


      1 TARG = tinyxserver
      2 DEPS = zlib tinyxlib
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 tinyxserver:QV:
      7 	case "$arch" in
      8 	x86_64)
      9 		EXTRA_CFLAGS="-D_XSERVER64=1 $CFLAGS"
     10 		;;
     11 	i486)
     12 		EXTRA_CFLAGS="$CFLAGS"
     13 		;;
     14 	esac
     15 	EXTRA_CFLAGS="$EXTRA_CFLAGS $DEPS_CFLAGS $DEPS_LDFLAGS"
     16 	# fix typo in Makefile to use proper CFLAGS.
     17 	cp ../Makefile Makefile
     18 	make clean
     19 	make -j$nprocs CC="$CC" EXTRA_CFLAGS="$EXTRA_CFLAGS" \
     20 		FONTDIR="$PREFIX/share/fonts"
     21 
     22 install:QV:
     23 	make DESTDIR="$ROOT" BINDIR="/bin" install
     24 	cd "$ROOT/$PREFIX/share/fonts/misc"
     25 	mkfontscale
     26 	mkfontdir