diff options
Diffstat (limited to 'xpp/utils/Makefile')
-rw-r--r-- | xpp/utils/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile index f9d034a..72ba74d 100644 --- a/xpp/utils/Makefile +++ b/xpp/utils/Makefile @@ -31,6 +31,7 @@ PERL_MODS := $(shell cd zconf; echo $(PERL_MODS_PAT)) XPD_FIRMWARE = $(wildcard ../firmwares/*.hex) XPD_INIT_DATA = $(XPD_FIRMWARE) init_fxo_modes XPD_INIT = $(wildcard ../init_card_?_*) ../calibrate_slics xpp_fxloader +XPD_INIT_PERL = ../init_card_6_26 ../init_card_7_26 # Variables that should be defined above, but need sane defaults: # FIXME: Are those values really sane? @@ -48,7 +49,15 @@ CFLAGS = -g -Wall $(EXTRA_CFLAGS) %.8: % pod2man --section 8 $^ > $@ || $(RM) $@ -PERL_SCRIPTS = zt_registration xpp_sync lszaptel xpp_blink +PERL_SCRIPTS = \ + zt_registration \ + xpp_sync \ + lszaptel \ + xpp_blink \ + zapconf \ + zaptel_hardware \ + # + PERL_MANS = $(PERL_SCRIPTS:%=%.8) TARGETS = init_fxo_modes print_modes @@ -63,7 +72,7 @@ PROG_INSTALL += $(PERL_SCRIPTS) TARGETS += $(PERL_MANS) endif -all: $(TARGETS) +all: perlcheck $(TARGETS) docs: $(PERL_MANS) @@ -120,5 +129,8 @@ wctdm_fxomodes.h: $(WCTDM) init_fxo_modes: print_modes ./$< >$@ +perlcheck: $(PERL_SCRIPTS) $(XPD_INIT_PERL) + for i in $^; do perl -I./zconf -c $$i || exit 1; done + clean: $(RM) *.o $(TARGETS) |