2015-04-24 12:59:49 -05:00
|
|
|
# 22 april 2015
|
|
|
|
|
|
|
|
osCFILES = \
|
|
|
|
windows/alloc.c \
|
2015-04-27 17:04:41 -05:00
|
|
|
windows/bin.c \
|
2015-04-29 09:46:09 -05:00
|
|
|
windows/button.c \
|
|
|
|
windows/checkbox.c \
|
2015-04-24 13:09:48 -05:00
|
|
|
windows/comctl32.c \
|
2015-04-27 17:04:41 -05:00
|
|
|
windows/container.c \
|
2015-04-24 13:09:48 -05:00
|
|
|
windows/debug.c \
|
2015-04-29 09:46:09 -05:00
|
|
|
windows/entry.c \
|
2015-04-24 12:59:49 -05:00
|
|
|
windows/init.c \
|
2015-04-29 09:46:09 -05:00
|
|
|
windows/label.c \
|
2015-04-24 12:59:49 -05:00
|
|
|
windows/main.c \
|
2015-04-24 13:16:37 -05:00
|
|
|
windows/menu.c \
|
2015-04-29 00:34:03 -05:00
|
|
|
windows/newcontrol.c \
|
2015-04-29 00:53:39 -05:00
|
|
|
windows/tab.c \
|
2015-04-24 12:59:49 -05:00
|
|
|
windows/text.c \
|
|
|
|
windows/util.c \
|
|
|
|
windows/window.c
|
|
|
|
|
|
|
|
osHFILES = \
|
|
|
|
windows/uipriv_windows.h
|
|
|
|
|
|
|
|
# thanks ebassi in irc.gimp.net/#gtk+
|
|
|
|
osCFLAGS = \
|
|
|
|
-D_UI_EXTERN='__declspec(dllexport) extern'
|
|
|
|
|
|
|
|
osLDFLAGS = \
|
2015-04-24 13:16:37 -05:00
|
|
|
-static-libgcc \
|
2015-04-24 12:59:49 -05:00
|
|
|
-luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
|
|
|
|
|
2015-04-28 13:46:09 -05:00
|
|
|
osLDWarnUndefinedFlags = -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
|
|
|
|
|
2015-04-24 12:59:49 -05:00
|
|
|
osLIBSUFFIX = .dll
|
|
|
|
osEXESUFFIX = .exe
|
|
|
|
|
2015-05-07 14:47:29 -05:00
|
|
|
ifeq ($(ARCH),amd64)
|
2015-04-24 12:59:49 -05:00
|
|
|
CC = x86_64-w64-mingw32-gcc
|
|
|
|
RC = x86_64-w64-mingw32-windres
|
2015-05-07 15:02:34 -05:00
|
|
|
archmflag = -m64
|
2015-04-24 12:59:49 -05:00
|
|
|
else
|
|
|
|
CC = i686-w64-mingw32-gcc
|
|
|
|
RC = i686-w64-mingw32-windres
|
2015-05-07 15:02:34 -05:00
|
|
|
archmflag = -m32
|
2015-04-24 12:59:49 -05:00
|
|
|
endif
|
2015-05-10 16:35:52 -05:00
|
|
|
|
|
|
|
ifeq ($(PROFILE),1)
|
|
|
|
osCFILES += windows/profiler.c
|
2015-05-10 22:02:16 -05:00
|
|
|
osCFLAGS += -DLIBUIPROFILING
|
2015-05-10 16:35:52 -05:00
|
|
|
endif
|