mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
SHELL = /bin/sh
|
|
|
|
CADDIR = ${PREFIX}
|
|
BINDIR = ${CADDIR}/bin
|
|
LIBDIR = ${CADDIR}/lib
|
|
MANDIR = ${CADDIR}/man
|
|
SYSDIR = ${CADDIR}/lib/magic/sys
|
|
SCMDIR = ${CADDIR}/lib/magic/scm
|
|
|
|
SCRIPTS = ${MAGICDIR}/scripts
|
|
|
|
RM = rm -f
|
|
CP = cp
|
|
AR = ar
|
|
ARFLAGS = crv
|
|
LD = ld -r
|
|
RANLIB = ranlib
|
|
|
|
CPP = /usr/bin/cpp -P -traditional
|
|
CPPFLAGS = -I. -I${MAGICDIR}
|
|
DFLAGS = -DFILE_LOCKS -DHAVE_READLINE -DNONMANHATTAN -DUSE_NEW_MACROS
|
|
|
|
READLINE_DEFS =
|
|
READLINE_LIBS = -lreadline -ltermcap
|
|
|
|
DEPEND_FLAG = -MM
|
|
DEPEND_FILE = Depend
|
|
|
|
GR_CFLAGS = -I${LOCALBASE}/include
|
|
GR_DFLAGS = -DX11 -DXLIB -DX11HELP_PROG=\"${X11HELP_PROG}\"
|
|
GR_LIBS = -L${LOCALBASE}/lib -lX11
|
|
GR_SRCS = ${X11_SRCS}
|
|
GR_HELPER_SRCS = ${X11HELPER_SRCS}
|
|
GR_HELPER_PROG = ${X11HELP_PROG}
|
|
|
|
OBJS = ${SRCS:.c=.o}
|
|
LIB_OBJS = ${LIB_SRCS:.c=.o}
|
|
CLEANS = ${OBJS} ${LIB_OBJS} lib${MODULE}.a lib${MODULE}.o ${MODULE}
|