2004-02-03 08:31:26 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2020-03-03 08:24:53 +00:00
|
|
|
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
|
|
|
QFCC=$(QFCC_DEP)
|
|
|
|
|
|
|
|
gui_libs=libgui.a
|
|
|
|
libs=$(gui_libs)
|
|
|
|
|
2012-05-05 10:34:35 +00:00
|
|
|
pkglibdir=$(datarootdir)/qfcc/lib
|
2004-02-03 08:31:26 +00:00
|
|
|
|
2020-03-03 08:24:53 +00:00
|
|
|
pkglib_LIBRARIES= $(libs)
|
|
|
|
EXTRA_LIBRARIES= $(gui_libs)
|
|
|
|
|
2004-02-03 08:31:26 +00:00
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
2012-12-01 02:20:06 +00:00
|
|
|
QCFLAGS=-qq -O -g -Werror -Wall -Wno-integer-divide --no-default-paths
|
2020-03-03 06:24:41 +00:00
|
|
|
QCPPFLAGS=--no-default-paths -I$(top_srcdir)/ruamoko/include
|
|
|
|
QCLINKFLAGS=--no-default-paths -L$(top_builddir)/ruamoko/lib
|
|
|
|
QCOMPILE=$(QFCC) $(QCFLAGS) $(QCPPFLAGS)
|
|
|
|
QLINK=$(QFCC) $(QCFLAGS) $(QCLINKFLAGS)
|
2004-02-03 08:31:26 +00:00
|
|
|
|
2020-03-03 08:24:53 +00:00
|
|
|
MKDIR_P = @MKDIR_P@
|
|
|
|
am__mv = mv -f
|
2004-02-03 08:31:26 +00:00
|
|
|
|
2020-03-03 08:24:53 +00:00
|
|
|
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
|
|
|
|
RANLIB=touch
|
2004-02-03 08:31:26 +00:00
|
|
|
|
2020-03-03 08:24:53 +00:00
|
|
|
SUFFIXES= .o .r
|
2011-07-25 21:19:43 +00:00
|
|
|
.r.o:
|
2020-03-26 07:53:53 +00:00
|
|
|
$(QCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tqo -p $(STRIP) -c -o $@ $<
|
|
|
|
@sed -i -e '1s@:@: $(QFCC_DEP)@' $(DEPDIR)/$*.Tqo
|
|
|
|
@$(am__mv) $(DEPDIR)/$*.Tqo $(DEPDIR)/$*.Qo
|
2004-02-03 08:31:26 +00:00
|
|
|
|
2020-03-03 08:24:53 +00:00
|
|
|
r_depfiles_remade=
|
|
|
|
|
2004-02-03 08:31:26 +00:00
|
|
|
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
|
2020-03-03 08:24:53 +00:00
|
|
|
libgui_a_obj=$(libgui_a_SOURCES:.r=.o)
|
|
|
|
libgui_a_dep=$(addprefix ./$(DEPDIR)/,$(libgui_a_obj:.o=.Qo))
|
2004-02-03 08:31:26 +00:00
|
|
|
libgui_a_AR= $(PAK) -cf
|
2020-03-03 08:24:53 +00:00
|
|
|
include $(libgui_a_dep) # am--include-marker
|
|
|
|
r_depfiles_remade += $(libgui_a_dep)
|
|
|
|
|
|
|
|
$(r_depfiles_remade):
|
|
|
|
$(MKDIR_P) $(@D)
|
|
|
|
echo '# dummy' >$@-t && $(am__mv) $@-t $@
|
|
|
|
|
|
|
|
am--depfiles: $(am__depfiles_remade) $(r_depfiles_remade)
|
|
|
|
|
2004-02-03 08:31:26 +00:00
|
|
|
|
|
|
|
CLEANFILES= *.qfo *.o
|