Commit | Line | Data |
---|---|---|
6ba62414 WJ |
1 | # Copyright (C) 1990, 1991 Aladdin Enterprises. All rights reserved. |
2 | # Distributed by Free Software Foundation, Inc. | |
3 | # | |
4 | # This file is part of Ghostscript. | |
5 | # | |
6 | # Ghostscript is distributed in the hope that it will be useful, but | |
7 | # WITHOUT ANY WARRANTY. No author or distributor accepts responsibility | |
8 | # to anyone for the consequences of using it or for whether it serves any | |
9 | # particular purpose or works at all, unless he says so in writing. Refer | |
10 | # to the Ghostscript General Public License for full details. | |
11 | # | |
12 | # Everyone is granted permission to copy, modify and redistribute | |
13 | # Ghostscript, but only under the conditions described in the Ghostscript | |
14 | # General Public License. A copy of this license is supposed to have been | |
15 | # given to you along with Ghostscript so you can know your rights and | |
16 | # responsibilities. It should be in a file named COPYING. Among other | |
17 | # things, the copyright notice and this notice must be preserved on all | |
18 | # copies. | |
19 | ||
20 | # Partial makefile for Ghostscript, common to all Unix configurations. | |
21 | ||
22 | # This part of the makefile gets inserted after the compiler-specific part | |
23 | # (xxx-head.mak) and before gs.mak and devs.mak. | |
24 | ||
25 | # ----------------------------- Generic stuff ----------------------------- # | |
26 | ||
27 | # Define the platform name. | |
28 | ||
29 | PLATFORM=unix_ | |
30 | ||
31 | # Define the extensions for the object and executable files. | |
32 | ||
33 | OBJ=o | |
34 | XE= | |
35 | ||
36 | # Define the need for uniq. | |
37 | ||
38 | UNIQ= | |
39 | ||
40 | # Define the current directory prefix, shell quote string, and shell names. | |
41 | ||
42 | EXP=./ | |
43 | QQ=\" | |
44 | SHELL=/bin/sh | |
45 | SH=$(SHELL) | |
46 | SHP=$(SH) $(EXP) | |
47 | ||
48 | # Define the compilation rules and flags. | |
49 | ||
50 | CCFLAGS=$(GENOPT) $(CFLAGS) | |
51 | ||
52 | .c.o: $(AK) | |
53 | $(CCC) $*.c | |
54 | ||
55 | CC0=$(CCC) | |
56 | CCINT=$(CCC) |