File: win32.tup

package info (click to toggle)
tup 0.7.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 18,448 kB
  • sloc: ansic: 217,845; sh: 17,432; perl: 184; python: 67; lisp: 63; makefile: 62
file content (27 lines) | stat: -rw-r--r-- 750 bytes parent folder | download
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
ifdef CC32
CC32 = @(CC32)
else
CC32 = $(CC)
CFLAGS32 += -m32
LDFLAGS32 += -m32
endif

# Compatibility function prototypes and include path for wrapper functions
CFLAGS += -include $(TUP_CWD)/src/compat/win32/mingw.h
CFLAGS += -I$(TUP_CWD)/src/compat/win32

# No sig_atomic_t on windows
CFLAGS += -Dsig_atomic_t=int

LDFLAGS += -static-libgcc

!cc32 = |> ^ CC32 %f^ $(CC32) -c %f -o %o $(CFLAGS) $(CFLAGS32) $(CFLAGS32_%f) |> %B.o32
!ld32 = |> ^ LINK32 %o^ $(CC32) %f -o %o $(LDFLAGS) $(LDFLAGS32) $(LDFLAGS32_%o) |>
!dll = |> ^ DLL %o^ $(CC) -shared %f -o %o $(LDFLAGS) $(LDFLAGS_%o) |>
!dll32 = |> ^ DLL32 %o^ $(CC32) -shared %f -o %o $(LDFLAGS) $(LDFLAGS32) $(LDFLAGS32_%o) |>

PROGRAM_SUFFIX=.exe

TUP_SERVER = windepfile

TUP_USE_SYSTEM_PCRE = n