libui/redo/windows/GNUmakeinc.mk

71 lines
1.4 KiB
Makefile
Raw Normal View History

# 22 april 2015
osCFILES = \
windows/alloc.c \
windows/button.c \
windows/checkbox.c \
2015-05-20 16:09:58 -05:00
windows/combobox.c \
windows/container.c \
windows/control.c \
2015-05-22 09:36:24 -05:00
windows/datetimepicker.c \
windows/debug.c \
windows/dialoghelper.c \
windows/entry.c \
windows/events.c \
windows/group.c \
windows/init.c \
windows/label.c \
windows/main.c \
windows/menu.c \
windows/parent.c \
2015-05-19 20:05:18 -05:00
windows/progressbar.c \
windows/radiobuttons.c \
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 \
windows/spinbox.c \
windows/stddialogs.c \
windows/tab.c \
windows/tabpage.c \
windows/text.c \
windows/util.c \
windows/utilwin.c \
windows/window.c
osHFILES = \
windows/resources.h \
windows/uipriv_windows.h \
windows/winapi.h
osRCFILES = \
windows/resources.rc
# 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
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