2015-04-22 14:04:55 -05:00
|
|
|
# 22 april 2015
|
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
CFILES += \
|
2015-04-22 16:54:05 -05:00
|
|
|
unix/alloc.c \
|
2015-10-08 17:24:09 -05:00
|
|
|
unix/area.c \
|
2015-07-30 11:43:40 -05:00
|
|
|
unix/box.c \
|
2015-04-29 09:36:31 -05:00
|
|
|
unix/button.c \
|
|
|
|
unix/checkbox.c \
|
2015-08-28 15:38:04 -05:00
|
|
|
unix/child.c \
|
2015-06-14 18:58:00 -05:00
|
|
|
unix/combobox.c \
|
|
|
|
unix/control.c \
|
|
|
|
unix/datetimepicker.c \
|
2015-10-08 17:24:09 -05:00
|
|
|
unix/draw.c \
|
2015-04-29 09:36:31 -05:00
|
|
|
unix/entry.c \
|
2015-06-14 18:58:00 -05:00
|
|
|
unix/group.c \
|
2015-04-29 09:36:31 -05:00
|
|
|
unix/label.c \
|
2015-04-22 16:54:05 -05:00
|
|
|
unix/main.c \
|
2015-04-23 12:11:36 -05:00
|
|
|
unix/menu.c \
|
2015-12-06 00:18:32 -06:00
|
|
|
unix/multilineentry.c \
|
2015-06-14 18:58:00 -05:00
|
|
|
unix/progressbar.c \
|
|
|
|
unix/radiobuttons.c \
|
|
|
|
unix/separator.c \
|
|
|
|
unix/slider.c \
|
|
|
|
unix/spinbox.c \
|
2015-06-26 17:45:00 -05:00
|
|
|
unix/stddialogs.c \
|
2015-04-28 23:57:51 -05:00
|
|
|
unix/tab.c \
|
2015-04-23 09:01:39 -05:00
|
|
|
unix/text.c \
|
2015-04-22 18:23:34 -05:00
|
|
|
unix/util.c \
|
|
|
|
unix/window.c
|
2015-04-22 14:04:55 -05:00
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
HFILES += \
|
2015-04-22 14:04:55 -05:00
|
|
|
unix/uipriv_unix.h
|
|
|
|
|
2015-12-11 17:28:07 -06:00
|
|
|
# TODO split into a separate file or put in GNUmakefile.libui somehow?
|
2015-04-22 14:04:55 -05:00
|
|
|
|
2015-12-11 17:37:15 -06:00
|
|
|
# flags for GTK+
|
|
|
|
CFLAGS += \
|
|
|
|
`pkg-config --cflags gtk+-3.0`
|
|
|
|
CXXFLAGS += \
|
|
|
|
`pkg-config --cflags gtk+-3.0`
|
|
|
|
LDFLAGS += \
|
|
|
|
`pkg-config --libs gtk+-3.0` -lm
|
|
|
|
|
2015-12-11 17:28:07 -06:00
|
|
|
# flags for building a shared library
|
|
|
|
# OS X does support -shared but it has a preferred name for this so let's use that there instead; hence this is not gcc-global
|
2015-10-16 19:55:09 -05:00
|
|
|
LDFLAGS += \
|
2015-12-11 17:28:07 -06:00
|
|
|
-shared
|
2015-04-22 14:04:55 -05:00
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
# flags for warning on undefined symbols
|
2015-12-11 17:28:07 -06:00
|
|
|
# this is not gcc-global because OS X doesn't support these flags
|
2016-01-22 12:08:36 -06:00
|
|
|
# TODO figure out why FreeBSD follows linked libraries here
|
|
|
|
ifneq ($(shell uname -s),FreeBSD)
|
2015-10-16 19:55:09 -05:00
|
|
|
LDFLAGS += \
|
|
|
|
-Wl,--no-undefined -Wl,--no-allow-shlib-undefined
|
2016-01-22 12:08:36 -06:00
|
|
|
endif
|