2004-02-03 08:31:26 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
|
|
|
libdir=$(prefix)/lib/ruamoko
|
|
|
|
|
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
|
|
|
QCFLAGS=-qq -g -Werror
|
|
|
|
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
|
|
|
|
|
|
|
|
lib_LIBRARIES= $(libs)
|
|
|
|
EXTRA_LIBRARIES= $(gui_libs)
|
|
|
|
|
|
|
|
%.qfo: %.r
|
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
%.o: %.r
|
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
libgui_a_SOURCES= \
|
2004-02-04 02:35:57 +00:00
|
|
|
Group.r InputLine.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
|