2015-05-14 08:43:25 -05:00
|
|
|
# 22 april 2015
|
|
|
|
|
|
|
|
osCFILES = \
|
|
|
|
windows/alloc.c \
|
2015-06-30 00:06:36 -05:00
|
|
|
windows/box.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/button.c \
|
|
|
|
windows/checkbox.c \
|
2015-05-20 16:09:58 -05:00
|
|
|
windows/combobox.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/container.c \
|
2015-05-15 20:12:54 -05:00
|
|
|
windows/control.c \
|
2015-05-22 09:36:24 -05:00
|
|
|
windows/datetimepicker.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/debug.c \
|
2015-05-22 16:41:36 -05:00
|
|
|
windows/dialoghelper.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/entry.c \
|
2015-05-20 21:46:50 -05:00
|
|
|
windows/events.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
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 \
|
2015-05-19 20:05:18 -05:00
|
|
|
windows/progressbar.c \
|
2015-05-20 16:52:21 -05:00
|
|
|
windows/radiobuttons.c \
|
2015-05-15 20:12:54 -05:00
|
|
|
windows/resize.c \
|
2015-05-20 13:08:34 -05:00
|
|
|
windows/separator.c \
|
2015-05-20 09:29:57 -05:00
|
|
|
windows/slider.c \
|
2015-05-19 11:32:14 -05:00
|
|
|
windows/spinbox.c \
|
2015-05-22 18:14:25 -05:00
|
|
|
windows/stddialogs.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
windows/tab.c \
|
2015-05-30 11:28:52 -05:00
|
|
|
windows/tabpage.c \
|
2015-05-14 08:43:25 -05:00
|
|
|
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 = \
|
2015-06-09 11:16:59 -05:00
|
|
|
windows/compilerver.h \
|
2015-05-30 13:33:23 -05:00
|
|
|
windows/resources.h \
|
2015-05-31 10:12:29 -05:00
|
|
|
windows/uipriv_windows.h \
|
|
|
|
windows/winapi.h
|
2015-05-14 08:43:25 -05:00
|
|
|
|
2015-05-30 13:33:23 -05:00
|
|
|
osRCFILES = \
|
|
|
|
windows/resources.rc
|
|
|
|
|
2015-05-14 08:43:25 -05:00
|
|
|
# thanks ebassi in irc.gimp.net/#gtk+
|
|
|
|
osCFLAGS = \
|
|
|
|
-D_UI_EXTERN='__declspec(dllexport) extern'
|
|
|
|
|
|
|
|
osLDFLAGS = \
|
|
|
|
-static-libgcc \
|
2015-05-16 10:37:45 -05:00
|
|
|
-luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
|
2015-05-14 08:43:25 -05:00
|
|
|
|
|
|
|
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
|