Added support for compiling C++ files. It isn't included for all
[AROS.git] / rom / oop / mmakefile.src
blob6b4213813e33a6865f48140f67690e136161d983
1 #   $Id$
2 include $(TOP)/config/make.cfg
4 #MM- core-linklibs : linklibs-oop
6 FILES     :=    hash hiddmetaclass metaclass basemetaclass  \
7                 rootclass support privatestubs
8         
9 FUNCS :=    addclass            \
10             disposeobject       \
11             findclass           \
12             getattr             \
13             getattrbase         \
14             getmethod           \
15             getmethodid         \
16             newobject           \
17             obtainattrbase      \
18             obtainattrbases     \
19             parseattrs          \
20             releaseattrbase     \
21             releaseattrbases    \
22             removeclass         \
23             setattrs
25 USER_CFLAGS := -DAROS_USE_OOP -D__OOP_NOLIBBASE__ \
26                -D__UTILITY_NOLIBBASE__
28 #MM kernel-oop-includes : \
29 #MM     kernel-exec-includes \
30 #MM     kernel-utility-includes
32 %build_module mmake=kernel-oop \
33   modname=oop modtype=library \
34   files="oop_init $(FUNCS) $(FILES)" \
35   uselibs="rom"
37 #MM includes-copy
39 INCLUDE_FILES := $(call WILDCARD, include/*.h)
40 %copy_includes path=oop dir=include