blob: b450b385d4a79b77b60b69a3f72a7bed2f22590c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2002 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# Michael Nygard <michael.nygard@halleysfifth.com>
# /space/gentoo/cvsroot/gentoo-x86/header.txt,v 1.4 2001/12/16 18:19:08 verwilst Exp
SHELL = /bin/sh
VERSION = 7.1
# Change CADDIR to install in a different place
CADDIR = ${DESTDIR}/usr/lib
BINDIR = ${DESTDIR}/usr/bin
LIBDIR = ${DESTDIR}/usr/lib
MANDIR = ${DESTDIR}/usr/share/man
SYSDIR = ${DESTDIR}/usr/lib/magic/sys
SCMDIR = ${DESTDIR}/usr/lib/magic/scm
SCRIPTS = ${MAGICDIR}/scripts
MODULES +=
# Define your make environment
# MAKE = gmake
# MAKEFLAGS = -j4
RM = rm -f
CP = cp
AR = ar
ARFLAGS = crv
LD = ld -r
RANLIB = ranlib
CC = gcc
CPP = /lib/cpp -P -traditional
CPPFLAGS = -I. -I${MAGICDIR}
DFLAGS = -Dlinux -DSYSV -DF_OK=0 -DW_OK=2 -D__NO_STRING_INLINES -DISC ${READLINE_DEFS} -DNONMANHATTAN
DEPEND_FLAG = -MM
DEPEND_FILE = Depend
GR_CFLAGS = -DX11 -DXLIB -I/usr/X11R6/include
GR_LIBS = -lX11 -L/usr/X11R6/lib/ -lbsd
GR_SRCS = ${X11_SRCS}
GR_HELPER_SRCS = ${X11HELPER_SRCS}
GR_HELPER_PROG = ${X11HELP_PROG}
# Set your .magic to be installed
# proto.magic - original
# proto.magic.new - with X11 extensions
# proto.magic-scm - load scheme extensions
DOT_MAGIC_FILES = proto.magic.new proto.magic-scm
OBJS = ${SRCS:.c=.o}
LIB_OBJS = ${LIB_SRCS:.c=.o}
CLEANS = ${OBJS} ${LIB_OBJS} lib${MODULE}.a lib${MODULE}.o ${MODULE}
|