Various old make file updates, quasi Warnock's Dilemma
[parrot.git] / config / gen / makefiles / dynpmc.in
blob66d5b4c8ed22eb563741eaed19339c3eeec0c3d3
1 PERL = @perl@
2 RM_F = @rm_f@
3 LOAD_EXT = @load_ext@
4 RUNTIME_DIR = @build_dir@@slash@runtime@slash@parrot@slash@dynext
5 O = @o@
7 # add your dynamic pmcs here
9 # gdbmhash is only built when 'libgdbm.so' is available
11 # There is no config probe for libquantum yet, so add 'quantumreg' manually if desired
13 PMCS = \
14 #CONDITIONED_LINE(has_gdbm):gdbmhash \
15   dynlexpad \
16   match \
17   matchrange \
18   subproxy \
19   foo
21 DISABLED_PMCS = \
22   pybuiltin \
23   pyclass \
24   pyobject \
25   pyboolean \
26   pycomplex \
27   pydict \
28   pyexception \
29   pyfloat \
30   pyfunc \
31   pyboundmeth \
32   pyboundcall \
33   pynci \
34   pystaticmeth \
35   pygen \
36   pyint \
37   pylist \
38   pylong \
39   pymodule \
40   pynone \
41   pytype \
42   pyslice \
43   pystring \
44   pytuple \
45   pyproxytype \
46   pyproxyclass \
47   pyiter
49 BUILD = $(PERL) "@build_dir@@slash@tools@slash@build@slash@dynpmc.pl"
51 all :
52         @$(BUILD) generate $(PMCS)
53         @$(BUILD) compile $(PMCS)
54         @$(BUILD) linklibs $(PMCS)
55         @$(BUILD) copy "--destination=$(RUNTIME_DIR)" $(PMCS)
57 test : all
58         cd .. ; perl -Ilib t/harness t/dynpmc/*.t
60 testclean :
61         $(RM_F) "../../t/dynpmc/*.pir" "../../t/dynpmc/*.pbc"
63 # win32 import library
64 # win32 program data base - contains debugging info
65 # win32 incremental link status files
66 # win32 exported functions and data items
67 # win32 export definition files
68 dynext-clean :
69         $(RM_F) "*.lib" "*.pdb" "*.ilk" "*.exp" "*.def"
71 clean : testclean dynext-clean
72         $(RM_F) "*.c" "pmc_*.h" "*_group.h" "*$(LOAD_EXT)" "*.dump" "lib-*" "*$(O)"
74 archclean :
75         $(RM_F) "*$(LOAD_EXT)" "*$(O)" Makefile
77 realclean: clean
78         $(RM_F) Makefile build.pl
80 distclean: realclean
82 cvsclean: realclean