2004-02-03 08:31:26 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2010-12-24 10:39:12 +00:00
|
|
|
pkglibdir=$(libdir)/qfcc/lib
|
2004-02-03 08:31:26 +00:00
|
|
|
|
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
2012-01-04 04:17:57 +00:00
|
|
|
QCFLAGS=-qq -g -Werror -Wall -Wno-integer-divide --no-default-paths
|
2004-02-03 08:31:26 +00:00
|
|
|
QCPPFLAGS=$(INCLUDES)
|
|
|
|
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
|
|
|
|
RANLIB=touch
|
|
|
|
|
|
|
|
INCLUDES= -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
|
|
|
|
|
|
|
|
gui_libs=libgui.a
|
|
|
|
if BUILD_RUAMOKO
|
|
|
|
libs=$(gui_libs)
|
|
|
|
else
|
|
|
|
libs=
|
|
|
|
endif
|
|
|
|
|
2004-02-18 06:28:37 +00:00
|
|
|
pkglib_LIBRARIES= $(libs)
|
2004-02-03 08:31:26 +00:00
|
|
|
EXTRA_LIBRARIES= $(gui_libs)
|
|
|
|
|
2011-07-25 21:19:43 +00:00
|
|
|
SUFFIXES= .qfo .r .qc
|
|
|
|
.r.o:
|
2004-02-03 08:31:26 +00:00
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
libgui_a_SOURCES= \
|
2004-02-13 02:52:14 +00:00
|
|
|
Group.r InputLine.r Pic.r Point.r Rect.r Size.r Slider.r Text.r View.r
|
2004-02-03 08:31:26 +00:00
|
|
|
libgui_a_AR= $(PAK) -cf
|
|
|
|
|
|
|
|
CLEANFILES= *.qfo *.o
|