2015-10-16 19:55:09 -05:00
|
|
|
# 16 october 2015
|
|
|
|
|
2015-10-17 09:20:31 -05:00
|
|
|
ifndef inlibuibuild
|
|
|
|
$(error [FAIL] do not run these makefiles directly)
|
|
|
|
endif
|
|
|
|
|
2015-10-16 21:49:54 -05:00
|
|
|
include $(OS)/GNUosspecific.mk
|
2015-10-16 19:55:09 -05:00
|
|
|
include common/GNUmakeinc.mk
|
|
|
|
include $(OS)/GNUmakeinc.mk
|
|
|
|
|
|
|
|
HFILES += \
|
|
|
|
ui.h \
|
2015-11-17 10:49:23 -06:00
|
|
|
ui_$(OS)$(OSHSUFFIX)
|
2015-10-16 19:55:09 -05:00
|
|
|
|
|
|
|
NAME = libui
|
|
|
|
|
2015-10-16 22:33:53 -05:00
|
|
|
# GROAN GCC
|
|
|
|
#CFLAGS += \
|
|
|
|
# -fPIC
|
2015-10-16 21:02:56 -05:00
|
|
|
|
2015-10-16 21:49:54 -05:00
|
|
|
SUFFIX = $(LIBSUFFIX)
|
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
LDFLAGS += \
|
2015-10-16 22:33:53 -05:00
|
|
|
-shared
|
|
|
|
# weird things:
|
|
|
|
# GROAN GCC
|
|
|
|
# -fPIC \
|
|
|
|
# confused by this
|
2015-10-16 20:39:28 -05:00
|
|
|
# -Wl,-soname,$(NAME)$(SUFFIX).0
|
2015-10-16 19:55:09 -05:00
|
|
|
|
|
|
|
include GNUbaserules.mk
|