File: Makefile.dos

package info (click to toggle)
swi-prolog 3.1.0-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,772 kB
  • ctags: 12,869
  • sloc: ansic: 43,657; perl: 12,577; lisp: 4,359; sh: 1,534; makefile: 798; awk: 14
file content (83 lines) | stat: -rw-r--r-- 1,901 bytes parent folder | download | duplicates (10)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SWI-Prolog 1.8.12 Makefile for MS-DOS
# Compiler: WATCOM C/C++-32 version 9.50

.NOCHECK

srcdir = \jan\src\pl

prefix = C:
exec_prefix = $(prefix)
bindir = $(exec_prefix)\bin
libdir = $(exec_prefix)\lib
mandir = $(prefix)\man\man1
manext = 1

CC = wcc386
LD = wlink system win386
LDFLAGS =
AWK = awk

INSTALL = copy
INSTALL_PROGRAM = copy
INSTALL_DATA = copy

DEFS = /dMD="md-mswin.h"
LIBS = 

#CFLAGS = /oelirt
CFLAGS = /bt=windows /d2 -I..\..\
LDFLAGS = 

STARTUP= ../startup/startup

OBJ1=	pl-wam.obj pl-save.obj &
	pl-atom.obj pl-arith.obj pl-bag.obj pl-comp.obj pl-dump.obj &
	pl-dwim.obj pl-ext.obj pl-file.obj pl-flag.obj pl-fmt.obj &
	pl-funct.obj pl-gc.obj pl-glob.obj pl-itf.obj pl-list.obj &
	pl-load.obj pl-modul.obj pl-op.obj pl-os.obj pl-prims.obj &
	pl-pro.obj pl-proc.obj pl-prof.obj pl-read.obj pl-rec.obj &
	pl-setup.obj pl-sys.obj pl-table.obj pl-trace.obj pl-util.obj &
	pl-wic.obj pl-write.obj pl-term.obj pl-buffer.obj
OBJ2=	pl-main.obj
EXT=	pl-extend.obj

OBJS=	$(OBJ1) $(OBJ2) $(EXT)
HDRS=	pl-buffer.h pl-ctype.h pl-funcs.h pl-incl.h pl-itf.h &
	pl-main.h pl-os.h pl-save.h sun-types.h

PB=../boot
PLBOOT= $(PB)/syspred.pl $(PB)/toplevel.pl $(PB)/listing.pl &
	$(PB)/edit.pl $(PB)/sort.pl $(PB)/bags.pl $(PB)/apply.pl &
	$(PB)/list.pl $(PB)/writef.pl $(PB)/history.pl $(PB)/portray.pl &
	$(PB)/profile.pl $(PB)/dwim.pl $(PB)/$(FOREIGN) $(PB)/parms.pl &
	$(PB)/autoload.pl

SUPPORT= &
	Makefile.in configure configure.in

DISTFILES= &
	$(SRCS) $(HDRS) $(PLBOOT) $(SUPPORT)

all:		pl.exe $(STARTUP)
		@%null

.c.obj:
		$(CC) /zq $(CPPFLAGS) $(DEFS) $(CFLAGS) $*.c

pl.exe:		$(OBJS) ..\..\readline\readline.lib
		$(LD) NAME pl @wlink.dir
		wbind pl -n -q

m-model:	m-model.exe
		@%null

m-model.exe:	m-model.obj
		$LD NAME m-model @m-model.lnk
		wbind m-model -n -q

pl-save:	pl-save.exe
		@%null

pl-save.exe:	pl-save.obj
		$LD NAME pl-save @pl-save.lnk
		wbind pl-save -n -q