2 # "$Id: Makefile,v 1.31.2.1 2001/05/13 18:38:31 mike Exp $"
4 # GNU Ghostscript makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 1993-2001 by Easy Software Products.
8 # These coded instructions, statements, and computer programs are the
9 # property of Easy Software Products and are protected by Federal
10 # copyright law. Distribution and use rights are outlined in the file
11 # "LICENSE.txt" which should have been included with this file. If this
12 # file is missing or damaged please contact Easy Software Products
15 # Attn: CUPS Licensing Information
16 # Easy Software Products
17 # 44141 Airport View Drive, Suite 204
18 # Hollywood, Maryland 20636-3111 USA
20 # Voice: (301) 373-9603
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
24 # This makefile and any derivative of it may be used and distributed
25 # freely under the terms of the GNU General Public License when
26 # used with GNU Ghostscript or its derivatives. Use of the makefile
27 # (or any derivative of it) with software other than GNU GhostScript
28 # (or its derivatives) is governed by the CUPS license agreement.
334 OBJS
= $(LIBOBJS
) genarch.o pstoraster.o
341 gs_btokn.ps gs_ccfnt.ps gs_cff.ps gs_cidfn.ps \
342 gs_cmap.ps gs_cmdl.ps gs_dbt_e.ps gs_diskf.ps \
343 gs_dpnxt.ps gs_dps1.ps gs_dps2.ps gs_dps.ps gs_epsf.ps \
344 gs_fform.ps gs_fonts.ps gs_init.ps gs_iso_e.ps \
345 gs_kanji.ps gs_ksb_e.ps gs_lev2.ps gs_ll3.ps \
346 gs_mex_e.ps gs_mro_e.ps gs_pfile.ps gs_res.ps \
347 gs_setpd.ps gs_statd.ps gs_std_e.ps gs_sym_e.ps \
348 gs_ttf.ps gs_typ32.ps gs_typ42.ps gs_type1.ps \
349 gs_wan_e.ps gs_wl1_e.ps gs_wl2_e.ps gs_wl5_e.ps
356 TARGETS
= genarch arch.h libgs.a pstoraster
366 # Clean all config and object files...
379 -$(MKDIR
) $(SERVERBIN
)/filter
380 $(CHMOD
) ugo
+rx
$(SERVERBIN
)
381 $(CHMOD
) ugo
+rx
$(SERVERBIN
)/filter
382 $(INSTALL_BIN
) pstoraster
$(SERVERBIN
)/filter
383 -$(MKDIR
) $(DATADIR
)/pstoraster
384 $(CHMOD
) ugo
+rx
$(DATADIR
)
385 $(CHMOD
) ugo
+rx
$(DATADIR
)/pstoraster
386 $(INSTALL_DATA
) $(DFILES
) $(DATADIR
)/pstoraster
390 # genarch - generate the architecture configuration file.
395 $(CC
) $(LDFLAGS
) -o genarch genarch.o
397 echo Generating
$@...
402 # libgs.a - GhostScript interpreter library...
405 libgs.a
: $(LIBOBJS
) ..
/Makedefs
408 $(AR
) $(ARFLAGS
) $@
$(LIBOBJS
)
413 # pstoraster - PostScript RIP filter.
416 pstoraster
: pstoraster.o libgs.a ..
/Makedefs ..
/cups
/$(LIBCUPS
)
418 $(CC
) $(LDFLAGS
) -o pstoraster pstoraster.o libgs.a \
419 $(LINKCUPSIMAGE
) $(IMGLIBS
) $(DSOLIBS
) $(LIBS
) -lm
423 # Generate dependencies for Ghostscript source files...
429 for file in
$(OBJS
:.o
=.c
); do \
431 makedepend
-a
-fDependencies
-I..
-Y
$$file >/dev
/null
2>&1; \
445 # End of "$Id: Makefile,v 1.31.2.1 2001/05/13 18:38:31 mike Exp $".