aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder1/sword.mak
blob: 36c1bdfcc5ff8113254d53b2f556c6702c165741 (plain) (blame)
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
# ---------------------------------------------------------------------------
VERSION = BCB.01
# ---------------------------------------------------------------------------
!ifndef BCB
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
PROJECT = sword.exe
OBJFILES = sword.obj mainform.obj \usr\troy\src\sword\keys\versekey.obj \
   \usr\troy\src\sword\keys\swkey.obj \usr\troy\src\sword\keys\listkey.obj \
   \usr\troy\src\sword\keys\strkey.obj \usr\troy\src\sword\modules\swmodule.obj \
   \usr\troy\src\sword\modules\texts\swtext.obj \
   \usr\troy\src\sword\modules\texts\rawtext\rawtext.obj \
   \usr\troy\src\sword\modules\comments\swcom.obj \
   \usr\troy\src\sword\modules\comments\rawcom\rawcom.obj \
   \usr\troy\src\sword\modules\common\zverse.obj \
   \usr\troy\src\sword\modules\common\rawstr.obj \
   \usr\troy\src\sword\modules\common\rawverse.obj \
   \usr\troy\src\sword\modules\common\swcomprs.obj \
   \usr\troy\src\sword\modules\lexdict\swld.obj \
   \usr\troy\src\sword\modules\lexdict\rawld\rawld.obj \
   \usr\troy\src\sword\utilfuns\utilstr.obj \
   \usr\troy\src\sword\utilfuns\utilconf.obj \
   \usr\troy\src\sword\frontend\swdisp.obj
RESFILES = sword.res
RESDEPEN = $(RESFILES) mainform.dfm
LIBFILES = 
# ---------------------------------------------------------------------------
CFLAG1 = -Od -Hc -w -k -r- -y -v -vi- -c -a4 -b- -w-par -w-inl -Vx -Ve -x    \
   -WE 
CFLAG2 = -Ic:\usr\troy\src\sword\frontend\windoze;c:\usr\troy\src\sword\frontend;c:\usr\troy\src\sword\utilfuns;c:\usr\troy\src\sword\modules\lexdict\rawld;c:\usr\troy\src\sword\modules\lexdict;c:\usr\troy\src\sword\modules\common;c:\usr\troy\src\sword\modules\comments\rawcom;c:\usr\troy\src\sword\modules\comments;c:\usr\troy\src\sword\modules\texts\rawtext;c:\usr\troy\src\sword\modules\texts;c:\usr\troy\src\sword\modules;c:\usr\troy\src\sword\keys;c:\usr\troy\src\sword\include;c:\usr\troy\src\sword\frontend\windoze\cbuilder;$(BCB)\lib\obj;$(BCB)\include;$(BCB)\include\vcl \
   -H=$(BCB)\lib\vcld.csm      
PFLAGS = -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE \
   -Uc:\usr\troy\src\sword\frontend;c:\usr\troy\src\sword\utilfuns;c:\usr\troy\src\sword\modules\lexdict\rawld;c:\usr\troy\src\sword\modules\lexdict;c:\usr\troy\src\sword\modules\common;c:\usr\troy\src\sword\modules\comments\rawcom;c:\usr\troy\src\sword\modules\comments;c:\usr\troy\src\sword\modules\texts\rawtext;c:\usr\troy\src\sword\modules\texts;c:\usr\troy\src\sword\modules;c:\usr\troy\src\sword\keys;c:\usr\troy\src\sword\frontend\windoze\cbuilder;$(BCB)\lib\obj;$(BCB)\lib \
   -Ic:\usr\troy\src\sword\frontend\windoze;c:\usr\troy\src\sword\frontend;c:\usr\troy\src\sword\utilfuns;c:\usr\troy\src\sword\modules\lexdict\rawld;c:\usr\troy\src\sword\modules\lexdict;c:\usr\troy\src\sword\modules\common;c:\usr\troy\src\sword\modules\comments\rawcom;c:\usr\troy\src\sword\modules\comments;c:\usr\troy\src\sword\modules\texts\rawtext;c:\usr\troy\src\sword\modules\texts;c:\usr\troy\src\sword\modules;c:\usr\troy\src\sword\keys;c:\usr\troy\src\sword\include;c:\usr\troy\src\sword\frontend\windoze\cbuilder;$(BCB)\lib\obj;$(BCB)\include;$(BCB)\include\vcl \
   -v -$Y -$W -$O-                          -JPHNV -M        
RFLAGS = -ic:\usr\troy\src\sword\frontend\windoze;c:\usr\troy\src\sword\frontend;c:\usr\troy\src\sword\utilfuns;c:\usr\troy\src\sword\modules\lexdict\rawld;c:\usr\troy\src\sword\modules\lexdict;c:\usr\troy\src\sword\modules\common;c:\usr\troy\src\sword\modules\comments\rawcom;c:\usr\troy\src\sword\modules\comments;c:\usr\troy\src\sword\modules\texts\rawtext;c:\usr\troy\src\sword\modules\texts;c:\usr\troy\src\sword\modules;c:\usr\troy\src\sword\keys;c:\usr\troy\src\sword\include;c:\usr\troy\src\sword\frontend\windoze\cbuilder;$(BCB)\lib\obj;$(BCB)\include;$(BCB)\include\vcl 
LFLAGS = -jc:\usr\troy\src\sword\frontend;c:\usr\troy\src\sword\utilfuns;c:\usr\troy\src\sword\modules\lexdict\rawld;c:\usr\troy\src\sword\modules\lexdict;c:\usr\troy\src\sword\modules\common;c:\usr\troy\src\sword\modules\comments\rawcom;c:\usr\troy\src\sword\modules\comments;c:\usr\troy\src\sword\modules\texts\rawtext;c:\usr\troy\src\sword\modules\texts;c:\usr\troy\src\sword\modules;c:\usr\troy\src\sword\keys;c:\usr\troy\src\sword\frontend\windoze\cbuilder;$(BCB)\lib\obj;$(BCB)\lib \
   -Lc:\usr\troy\src\sword\frontend;c:\usr\troy\src\sword\utilfuns;c:\usr\troy\src\sword\modules\lexdict\rawld;c:\usr\troy\src\sword\modules\lexdict;c:\usr\troy\src\sword\modules\common;c:\usr\troy\src\sword\modules\comments\rawcom;c:\usr\troy\src\sword\modules\comments;c:\usr\troy\src\sword\modules\texts\rawtext;c:\usr\troy\src\sword\modules\texts;c:\usr\troy\src\sword\modules;c:\usr\troy\src\sword\keys;c:\usr\troy\src\sword\frontend\windoze\cbuilder;$(BCB)\lib\obj;$(BCB)\lib \
   -aa -Tpe -x -v              -V4.0    
IFLAGS = 
LINKER = ilink32
# ---------------------------------------------------------------------------
ALLOBJ = c0w32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib 
# ---------------------------------------------------------------------------
.autodepend

$(PROJECT): $(OBJFILES) $(RESDEPEN)
    $(BCB)\BIN\$(LINKER) @&&!
    $(LFLAGS) +
    $(ALLOBJ), +
    $(PROJECT),, +
    $(ALLLIB),, +
    $(ALLRES) 
!

.pas.hpp:
    $(BCB)\BIN\dcc32 $(PFLAGS) { $** }

.pas.obj:
    $(BCB)\BIN\dcc32 $(PFLAGS) { $** }

.cpp.obj:
    $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* 

.c.obj:
    $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**

.rc.res:
    $(BCB)\BIN\brcc32 $(RFLAGS) $<
#-----------------------------------------------------------------------------