X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2FMakefile;h=c6fac71e950f0432f150f7d6dfa16977a9a8973d;hb=5f8ddee6b08c8040c0a304a347d65045c1141d52;hp=76f88ab9e394307904a1096736f39f66bb8a8831;hpb=83afa91b731e958deffb1a65ce26c792779b88f3;p=libfirm diff --git a/ir/ir/Makefile b/ir/ir/Makefile index 76f88ab9e..c6fac71e9 100644 --- a/ir/ir/Makefile +++ b/ir/ir/Makefile @@ -15,23 +15,28 @@ DEPENDFLAGS = -M LIBPATH = LIBS = X_LIBS = -INCLUDES = -I../adt -I../common -I../debug -I../ident -I../../include \ +INCLUDES = -I../adt -I../common -I../debug -I../ident -I../include \ -I../ir -I../tr -I../tv X_INCLUDES = SHELL = /bin/sh MAKE = /usr/bin/make -MEMBERS = ircons.m irdump.m irflag.m irgmod.m irgraph.m irgopt.m \ - irgwalk.m irmode.m irnode.m irop.m iropt.m irvrfy.m +DISTRIBMEMBERS = ircons.m irdump.m irflag.m irgmod.m irgraph.m irgopt.m \ + irgwalk.m irmode.m irnode.m irop.m iropt.m irprog.m irvrfy.m +MEMBERS = $(DISTRIBMEMBERS) CFILES = $(MEMBERS:.m=.c) HFILES = $(MEMBERS:.m=.h) +HFILES += irnode_t.h irgraph_t.h ir_prog.h irop_t.h irmode_t.h HFILES += array.h common.h cookies.h debug.h entity.h gmp.h \ host.h ident.h label.h misc.h obst.h pdeq.h pset.h \ set.h tune.h tv.h type.h xprintf.h xp_help.h irnode2.h +DISTRIB = $(DISTRIBMEMBERS:.m=.h) +DISTRIB += old_fctnames.h + OFILES = $(MEMBERS:%.m=../objects/%.o) DFILES = $(MEMBERS:.m=.d) @@ -55,10 +60,14 @@ $(TARGET): $(DFILES) $(OFILES) ../objects/%.o: %.c $(CXX) $(CFLAGS) $(CXXFLAGS) $(COPTFLAGS) $(INCLUDES) $(X_INCLUDES) -c $< -o $@ +lib: + cp $(DISTRIB) ../../include + clean: rm -f $(OFILES) $(DFILES) realclean: clean - rm -f $(TARGET) *.flc TAGS + rm -f $(TARGET) *.flc TAGS \#* + rm -rf auto/ -include $(DFILES)