60 |
PERL-COMPONENTS=components/PAPO.pm |
PERL-COMPONENTS=components/PAPO.pm |
61 |
|
|
62 |
# left here for future refererenenrence |
# left here for future refererenenrence |
63 |
# |
# |
64 |
#do-for-all=$(foreach item,$(2),$(call $(1),$(item))) |
#do-for-all=$(foreach item,$(2),$(call $(1),$(item))) |
65 |
## do *not* remove that ';' |
## do *not* remove that ';' |
66 |
#install-mod=${INSTALL} ${PWD}/$(1) ${LIBDIR}/$(shell basename $(1)); |
#install-mod=${INSTALL} ${PWD}/$(1) ${LIBDIR}/$(shell basename $(1)); |
84 |
%.gfd: %.cfg |
%.gfd: %.cfg |
85 |
$(Z2G) $< > $@ |
$(Z2G) $< > $@ |
86 |
|
|
87 |
.%.dep: %.neb |
.deps/%.dep: %.neb |
88 |
$(NEBDEP) $< > $@ |
$(NEBDEP) $< > $@ |
89 |
$(LAMDEP) $< >> $@ |
$(LAMDEP) $< >> $@ |
90 |
|
|
96 |
rm -f $(ALL) $(INTERMEDIATE) |
rm -f $(ALL) $(INTERMEDIATE) |
97 |
|
|
98 |
distclean: clean |
distclean: clean |
99 |
|
# fix |
100 |
rm -f .dep .*.dep .depend *~ |
rm -f .dep .*.dep .depend *~ |
101 |
|
|
102 |
install: install-perl-components |
install: install-perl-components |
104 |
install-perl-components: $(PERL-COMPONENTS) |
install-perl-components: $(PERL-COMPONENTS) |
105 |
$(INSTALL) $^ $(LIBDIR) |
$(INSTALL) $^ $(LIBDIR) |
106 |
|
|
107 |
.depend: $(NEBFILES:%.neb=.%.dep) |
.deps/all-deps: $(NEBFILES:%.neb=.deps/%.dep) |
108 |
cat $^ > $@ |
cat $^ > $@ |
109 |
|
|
110 |
force-dep: |
force-dep: |
111 |
@ rm -f .depend |
@ rm -f .depend |
112 |
@ make .depend |
@ make .depend |
113 |
|
|
114 |
-include .depend |
-include .deps/all-deps |