Last change
on this file since 76 was
76,
checked in by rosiere, 16 years ago
|
Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script
|
File size:
900 bytes
|
Rev | Line | |
---|
[2] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
[71] | 4 | # [ Description ] |
---|
[2] | 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
[53] | 10 | @COMPONENT = yes |
---|
| 11 | |
---|
[2] | 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | |
---|
[74] | 16 | #-----[ Directory ]---------------------------------------- |
---|
| 17 | |
---|
| 18 | @COMPONENT_DIR = $(DIR_MORPHEO)/Behavioural/@DIRECTORY |
---|
| 19 | |
---|
[71] | 20 | #-----[ Library ]------------------------------------------ |
---|
[2] | 21 | @COMPONENT_LIBRARY = -l@COMPONENT \ |
---|
| 22 | $(Behavioural_LIBRARY) |
---|
| 23 | |
---|
[74] | 24 | @COMPONENT_DIR_LIBRARY = -L$(@COMPONENT_DIR)/lib \ |
---|
[2] | 25 | $(Behavioural_DIR_LIBRARY) |
---|
| 26 | |
---|
[71] | 27 | #-----[ Rules ]-------------------------------------------- |
---|
[2] | 28 | |
---|
[76] | 29 | @COMPONENT_library : |
---|
[48] | 30 | @\ |
---|
[76] | 31 | $(MAKE) --directory=$(Behavioural_DIR) --makefile=Makefile; |
---|
[74] | 32 | $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile; |
---|
[62] | 33 | |
---|
[76] | 34 | @COMPONENT_library_clean : |
---|
[48] | 35 | @\ |
---|
[76] | 36 | $(MAKE) --directory=$(Behavioural_DIR) --makefile=Makefile clean; |
---|
[74] | 37 | $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile clean; |
---|
Note: See
TracBrowser
for help on using the repository browser.