2015-05-14 08:43:25 -05:00
|
|
|
# 22 april 2015
|
|
|
|
|
|
|
|
osCFILES = \
|
|
|
|
windows/alloc.c \
|
|
|
|
windows/button.c \
|
|
|
|
windows/checkbox.c \
|
|
|
|
windows/container.c \
|
2015-05-15 20:12:54 -05:00
|
|
|
windows/control.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/debug.c \
|
|
|
|
windows/entry.c \
|
|
|
|
windows/group.c \
|
|
|
|
windows/init.c \
|
|
|
|
windows/label.c \
|
|
|
|
windows/main.c \
|
|
|
|
windows/menu.c \
|
2015-05-15 20:12:54 -05:00
|
|
|
windows/parent.c \
|
|
|
|
windows/resize.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/tab.c \
|
|
|
|
windows/text.c \
|
|
|
|
windows/util.c \
|
2015-05-15 20:12:54 -05:00
|
|
|
windows/utilwin.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/window.c
|
|
|
|
|
|
|
|
osHFILES = \
|
|
|
|
windows/uipriv_windows.h
|
|
|
|
|
|
|
|
# thanks ebassi in irc.gimp.net/#gtk+
|
|
|
|
osCFLAGS = \
|
|
|
|
-D_UI_EXTERN='__declspec(dllexport) extern'
|
|
|
|
|
|
|
|
osLDFLAGS = \
|
|
|
|
-static-libgcc \
|
|
|
|
-luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
|
|
|
|
|
|
|
|
osLDWarnUndefinedFlags = -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
|
|
|
|
|
|
|
|
osLIBSUFFIX = .dll
|
|
|
|
osEXESUFFIX = .exe
|
|
|
|
|
|
|
|
ifeq ($(ARCH),amd64)
|
|
|
|
CC = x86_64-w64-mingw32-gcc
|
|
|
|
RC = x86_64-w64-mingw32-windres
|
|
|
|
archmflag = -m64
|
|
|
|
else
|
|
|
|
CC = i686-w64-mingw32-gcc
|
|
|
|
RC = i686-w64-mingw32-windres
|
|
|
|
archmflag = -m32
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PROFILE),1)
|
|
|
|
osCFILES += windows/profiler.c
|
|
|
|
osCFLAGS += -finstrument-functions
|
|
|
|
osLDFLAGS += -finstrument-functions
|
|
|
|
endif
|