1PYLIBROOT= $(EXPORT_TREE)/lib/python 2PYLIBDIR = $(PYLIBROOT)/omniidl_be/cxx/header 3INSTALLPYLIBDIR = $(INSTALLPYTHONDIR)/omniidl_be/cxx/header 4 5FILES = __init__.py defs.py opers.py poa.py tie.py forward.py marshal.py \ 6 obv.py template.py 7 8export:: $(FILES) 9 @(dir="$(PYLIBDIR)"; \ 10 for file in $^; do \ 11 $(ExportFileToDir) \ 12 done; \ 13 ) 14 15ifdef INSTALLTARGET 16install:: $(FILES) 17 @(dir="$(INSTALLPYLIBDIR)"; \ 18 for file in $^; do \ 19 $(ExportFileToDir) \ 20 done; \ 21 ) 22endif 23