File: CONFIG.win32-x86-mingw.win32-x86-mingw

package info (click to toggle)
epics-base 7.0.8.1%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,512 kB
  • sloc: cpp: 130,870; ansic: 115,274; perl: 10,647; makefile: 3,476; yacc: 1,307; python: 594; lex: 236; sh: 108; csh: 36
file content (35 lines) | stat: -rw-r--r-- 1,030 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
28
29
30
31
32
33
34
35
#  CONFIG.win32-x86-mingw.win32-x86-mingw
#
# Definitions for win32-x86-mingw host - win32-x86-mingw target builds
# Sites may override these definitions in CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
#-------------------------------------------------------

# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon

# Undo various things set by CONFIG.gnuCommon

CMPLR_PREFIX =

# Remove $(GNU_BIN)/ path
CC  = $(CMPLR_PREFIX)gcc
CCC = $(CMPLR_PREFIX)g++
AR  = $(CMPLR_PREFIX)ar -rc
LD  = $(CMPLR_PREFIX)ld -r
RANLIB = $(CMPLR_PREFIX)ranlib

# Add resource compiler
RCCMD = $(CMPLR_PREFIX)windres $(INCLUDES) $< $@

# Remove -fPIC flags, add out-implib
SHRLIB_CFLAGS =
SHRLIB_LDFLAGS = -shared \
    -Wl,--out-implib,$(DLLSTUB_PREFIX)$*$(DLLSTUB_SUFFIX)
LOADABLE_SHRLIB_LDFLAGS = -shared \
    -Wl,--out-implib,$(DLLSTUB_PREFIX)$*$(DLLSTUB_SUFFIX)

# Don't link with gcc library
GNU_LDLIBS_YES =

# Link with system libraries
OP_SYS_LDLIBS += -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp