summaryrefslogtreecommitdiffstats
path: root/WWW/Library/djgpp/makefile
blob: f46ad1fc0827d627c71185e44bd446586f6f8586 (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
56
57
58
59
#  Make WWW under unix for a.n.other unix system (bsd)
#   Use this as a template

# For W3 distribution, machine type for subdirectories
WWW_MACH = djgpp

# The ASIS repository's name for the machine we are on
#ASIS_MACH = hardware/os

# Use this option to enable optional and *experimental* color style.
#ENABLE_COLOR_STYLE = -DUSE_COLOR_STYLE

# comment this line to suppress DIRED support
DIRED_DEFS = -DDIRED_SUPPORT

CFLAGS= -O2 $(MCFLAGS) $(INTLFLAGS) $(SSLFLAGS) $(SSLINC)

MCFLAGS = \
 $(DIRED_DEFS) \
 $(ENABLE_COLOR_STYLE) \
 -DDISP_PARTIAL \
 -DDOSPATH \
 -DUSE_FILE_UPLOAD \
 -DNOUSERS \
 -DUSE_SOURCE_CACHE \
 -DUSE_PRETTYSRC \
 -DUSE_ZLIB \
 -I../Implementation \
 -I../../../src \
 -I../../.. \
 -I/djgpp/pdcur26 \
 -I/djgpp/watt32/inc

LFLAGS =
CC = gcc

# Uncomment the following to enable Internationalization.
#INTLFLAGS = -DHAVE_GETTEXT -DHAVE_LIBINTL_H

# Uncomment the following to enable SSL.
#SSLFLAGS = -DUSE_SSL
#SSLINC = -I/dev/env/DJDIR/include/openssl

# Directory for installed binary:
!BINDIR = /usr/local/bin

# Where is the W3 object library to be installed (not normally done)?
LIBDIR = $(WWW)/Library/Implementation/$(WWW_MACH)

#_________________ OK if normal W3 distribution
# Where is the WWW source root?
WWW = ../..

#  Where should temporary (object) files go?
WTMP = ../..

include $(WWW)/Library/Implementation/Version.make
#include $(WWW)/Library/Implementation/CommonMakefile
include ./CommonMakefile