fix remapping behavior. Remapping is only necessary if we are rendering on the workbe...
[AROS-Contrib.git] / regina / makefile.djg
blob884aba7e03f48fd64fcdfb7b98f449cd09f82aa7
2 # Makefile for Regina REXX Interpreter
4 # Using        DJGPP 2 under DOS
6 # No support for DLLs under DJGPP so no        instructions applicable
8 SHELL =        command.com
9 SRCDIR=$(REGINA_SRCDIR)
10 CC = gcc
11 LD = gcc
13 ifeq ($(DEBUG),Y)
14 OPTIMIZE = -g
15 LDOPT = -g
16 LDEXTRA=
17 else
18 OPTIMIZE = -O2 -DNDEBUG
19 LDOPT = -O2
20 LDEXTRA=-strip $@
21 endif
23 ifeq ($(TRACEMEM),Y)
24 MEMTRACE = -DTRACEMEM
25 else
26 MEMTRACE =
27 endif
29 ifeq ($(FLISTS),N)
30 USEFLISTS = -DNOFLISTS
31 else
32 USEFLISTS =
33 endif
35 CEXTRA = -DPOSIX_SOURCE        -DDOS -I$(WATT_ROOT)/inc -funsigned-char
36 EEXTRA =
37 EXTQUEUE_OBJS =        extstack.$(OBJ) rexxbif.$(OBJ)
38 EXTQUEUE_SHOBJS        = #extstack.sho rexxbif.sho
39 DYN_COMP =
40 LIBS =
41 TCPLIBS        = -L$(WATT_ROOT)/lib -lwatt #-lwatt1 -lwatt2 -lwatt3 -lwatt2 -lwatt1 -lwatt2 -lwatt3 -lwatt2 -lwatt1
42 SHLIBS =
43 SHL =
44 LD_RXLIB1=
45 LD_RXLIB2=
46 SHL_LD=
47 SHL_TARGETS= rxstack.exe rxqueue.exe
48 LDEXTRA1=#-coff2exe $@
49 LIBPRE = lib
50 LIBFILE        = regina
51 OBJECTS        = @$(SRCDIR)/go32.rsp
52 OSAVE =        .sav
53 MV= +ren
55 SHLFILE        = regina
56 OBJ = o
57 EXE = .exe
58 LIBPST = a
59 LIBEXE = ar
60 LIBFLAGS = cr $(LIBPRE)$(LIBFILE).$(LIBPST)
61 LIBLINK        = -L. -l$(LIBFILE)
62 LINKSHL        = $(LIBPRE)$(SHLFILE).$(SHL)
63 RXLIB =        rxlib
64 RM = -del
65 THREADING =
66 MT_FILE        = mt_notmt
67 OS_FILE        = os_other
69 RANLIB_LIB=-ranlib $(LIBPRE)$(LIBFILE).a
71 CC2O=-o        $@
73 # Include the common rules for the interpreter
75 include        $(SRCDIR)/makefile.com
77 # End of makefile