Installing CUPS in Mac mini with Pentium

Joseph cajanegra1 at gmail.com
Tue May 23 06:51:53 PDT 2006


> Hmm, that pretty much guarantees that things should compile.  What
> does your Makedefs file look like?

Here's the Makedefs file:

#
# "$Id: Makedefs.in 5468 2006-04-27 13:40:30Z mike $"
#
#   Common makefile definitions for the Common UNIX Printing System (CUPS).
#
#   Copyright 1997-2006 by Easy Software Products, all rights reserved.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "LICENSE.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: CUPS Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636 USA
#
#       Voice: (301) 373-9600
#       EMail: cups-info at cups.org
#         WWW: http://www.cups.org
#

#
# Programs...
#

AR		=	/usr/bin/ar
AWK		=	awk
CC		=	 gcc
CXX		=	 g++
DSO		=	$(CC)
HTMLDOC		=
INSTALL		=	/usr/bin/install -c
LD		=	/usr/bin/ld
LIBTOOL		=
LN		=	/bin/ln -sf
MV		=	/bin/mv
PHPCONFIG	=	/usr/bin/php-config
RANLIB		=	ranlib
RM		=	/bin/rm -f
RMDIR		=	/bin/rmdir
SED		=	/usr/bin/sed
SHELL		=	/bin/sh
STRIP		=	/usr/bin/strip

#
# Installation programs...
#

INSTALL_BIN	=	$(LIBTOOL) $(INSTALL) -m 755
INSTALL_CONFIG	=	$(INSTALL) -m 644
INSTALL_DATA	=	$(INSTALL) -m 644
INSTALL_DIR	=	$(INSTALL) -d
INSTALL_LIB	=	$(LIBTOOL) $(INSTALL) -m 755
INSTALL_MAN	=	$(INSTALL) -m 644
INSTALL_SCRIPT	=	$(INSTALL) -m 755

#
# Default user, group, and system groups for the scheduler...
#

CUPS_USER	=	lp
CUPS_GROUP	=	lp
CUPS_SYSTEM_GROUPS =	admin
CUPS_PRIMARY_SYSTEM_GROUP =	admin

#
# Default permissions...
#

CUPS_CONFIG_FILE_PERM = 644
CUPS_LOG_FILE_PERM = 644

#
# Languages to install...
#

LANGUAGES	=	es ja pl sv

#
# Libraries...
#

LIBCUPS		=	libcups.2.dylib
LIBCUPSIMAGE	=	libcupsimage.2.dylib
LIBJPEG		=
LIBLDAP		=	-lldap
LIBMALLOC	=
LIBPAPER	=
LIBPNG		=	-lpng -lm
LIBSLP		=
LIBTIFF		=	-ltiff
LIBZ		=	-lz

#
# Install static libraries?
#

INSTALLSTATIC	=

#
# Program options...
#
# ARCHFLAGS     Defines the default architecture build options, used
#               when compiling separate 32/64-bit libraries.
# ARCH32FLAGS   Defines the 32-bit architecture build options, used
#               when compiling separate 32/64-bit libraries.
# ARCH64FLAGS   Defines the 64-bit architecture build options, used
#               when compiling separate 32/64-bit libraries.
# OPTIM         Defines the common compiler optimization/debugging options
#               for all architectures.
# OPTIONS       Defines other compile-time options (currently only -DDEBUG
#               for extra debug info)
#

ARCHFLAGS	=	-arch i386 -arch ppc
ARFLAGS		=	-rcv
BACKLIBS	=	-framework IOKit
CFLAGS		=	-I.. $(SSLFLAGS)   \
			-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT $(OPTIONS)
COMMONLIBS	=	-lpthread -framework CoreFoundation
CUPSDLIBS	=	-framework IOKit -framework SystemConfiguration
CXXFLAGS	=	-I.. $(SSLFLAGS)   \
			-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT $(OPTIONS)
CXXLIBS		=
DSOFLAGS	=	 $(RC_CFLAGS) -dynamiclib -single_module -lc
DSOLIBS		=	$(LIBPNG) $(LIBTIFF) $(LIBJPEG) $(LIBZ) $(COMMONLIBS)
IMGLIBS		=	 -lm
IMGFILTERS	=
LDFLAGS		=	-L../cups -L../filter $(RC_CFLAGS) $(ARCHFLAGS) \
			  $(OPTIM)
LINKCUPS	=	-lcups $(SSLLIBS)
LINKCUPSIMAGE	=	-lcupsimage
LIBS		=	$(LINKCUPS) $(COMMONLIBS)
OPTIM		=	-Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g
OPTIONS		=
PAMLIBS		=	-lpam -ldl
PAP		=	pap
PDFTOPS		=
PHPDIR		=	scripting/php
SSLFLAGS	=
SSLLIBS		=	-framework CoreFoundation -framework Security
LAUNCHDLIBS	=

#
# Separate 32/64-bit library support...
#

ARCH32FLAGS	=
INSTALL32	=
LIB32CUPS	=
LIB32CUPSIMAGE	=
LIB32DIR	=	$(BUILDROOT)
UNINSTALL32	=

ARCH64FLAGS	=
INSTALL64	=
LIB64CUPS	=
LIB64CUPSIMAGE	=
LIB64DIR	=	$(BUILDROOT)
UNINSTALL64	=

#
# Directories...
#
# The first section uses the GNU names (which are *extremely*
# difficult to find in a makefile because they are lowercase...)
# We have to define these first because autoconf uses ${prefix}
# and ${exec_prefix} for most of the other directories...
#
# This is immediately followed by definition in ALL CAPS for the
# needed directories...
#

bindir		=	/usr/bin
datadir		=	/usr/share
exec_prefix	=	/usr
includedir	=	/usr/include
infodir		=	${prefix}/info
libdir		=	/usr/lib
libexecdir	=	${exec_prefix}/libexec
localstatedir	=	/private/var
mandir		=	/usr/share/man
oldincludedir	=	/usr/include
prefix		=	/
sbindir		=	/usr/sbin
sharedstatedir	=	/usr/com
srcdir		=	.
sysconfdir	=	/private/etc
top_srcdir	=	.

BUILDROOT	=	$(DSTROOT)

AMANDIR		=	$(BUILDROOT)/usr/share/man
BINDIR		=	$(BUILDROOT)/usr/bin
CACHEDIR	=	$(BUILDROOT)/private/var/tmp/cups
DATADIR		=	$(BUILDROOT)/usr/share/cups
DOCDIR		=	$(BUILDROOT)/usr/share/doc/cups
INCLUDEDIR	=	$(BUILDROOT)$(includedir)
INITDIR		=
INITDDIR	=	/System/Library/LaunchDaemons
LIBDIR		=	$(BUILDROOT)$(libdir)
LOCALEDIR	= 	$(BUILDROOT)/usr/share/locale
LOGDIR		= 	$(BUILDROOT)/private/var/log/cups
MANDIR		=	$(BUILDROOT)/usr/share/man
PMANDIR		=	$(BUILDROOT)/usr/share/man
REQUESTS	= 	$(BUILDROOT)/private/var/spool/cups
SBINDIR		=	$(BUILDROOT)/usr/sbin
SERVERBIN	= 	$(BUILDROOT)/usr/libexec/cups
SERVERROOT	= 	$(BUILDROOT)/private/etc/cups
STATEDIR	=	$(BUILDROOT)/private/var/run/cups
XINETD		=	/private/etc/xinetd.d

MAN1EXT		=	1
MAN5EXT		=	5
MAN7EXT		=	7
MAN8EXT		=	8
MAN8DIR		=	8

PAMDIR		=	/private/etc/pam.d
PAMFILE		=	pam.darwin

DEFAULT_LAUNCHD_CONF =	/System/Library/LaunchDaemons/org.cups.cupsd.plist
DBUSDIR		=


#
# Rules...
#

.SILENT:
.SUFFIXES:	.1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .32.o .64.o .gz

.c.o:
	echo Compiling $<...
	$(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<

.c.32.o:
	echo Compiling 32-bit $<...
	$(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<

.c.64.o:
	echo Compiling 64-bit $<...
	$(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<

.cxx.o:
	echo Compiling $<...
	$(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<

.man.1 .man.1m .man.5 .man.7 .man.8:
	echo Linking $<...
	$(RM) $@
	$(LN) $< $@

.man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
	echo -n Compressing $<...
	$(RM) $@
	gzip -v9 <$< >$@


#
# End of "$Id: Makedefs.in 5468 2006-04-27 13:40:30Z mike $"
#

Joseph.




More information about the cups mailing list