aboutsummaryrefslogblamecommitdiffstats
path: root/src/Makefile_Eolian_Helper.am
blob: 34ea60fc3ad4eb17223d41b8fd0ff7417caaf504 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                  

                              

                                                                                 
                                                



                                        
                                    
 
                                                   
 
                               

                               
                                                                 
 
                               

                               
                                                        
 


                                 
                                                        
 
                                      

                               
                                                            

                              
if HAVE_EOLIAN_GEN
EOLIAN_GEN = @eolian_gen@
_EOLIAN_GEN_DEP = @eolian_gen@
else
EOLIAN_GEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
_EOLIAN_GEN_DEP = bin/eolian/eolian_gen${EXEEXT}
endif

AM_V_EOL = $(am__v_EOL_@AM_V@)
am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
am__v_EOL_0 = @echo "  EOLIAN  " $@;

SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h .eot .eot.h

%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(dir $@); \
	$(EOLIAN_GEN) --eo --legacy $(EOLIAN_FLAGS) --gc -o $@ $<

%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(dir $@); \
	$(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $<

%.eot.h: %.eot ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(dir $@); \
	$(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $<

%.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(dir $@); \
	$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gh -o $@ $<

CLEANFILES += $(BUILT_SOURCES)