diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am
index db435a5d5430503afe2d37c62b3a4d8eac93a57b..9e0d2f8479997e3b0876489b672d09b8f87bdfd4 100644
--- a/src/flash/Makefile.am
+++ b/src/flash/Makefile.am
@@ -6,4 +6,5 @@ libflash_a_SOURCES = flash.c lpc2000.c cfi.c non_cfi.c at91sam7.c at91sam7_old.c
 					 stellaris.c str9xpec.c stm32x.c tms470.c ecos.c  \
 		     s3c24xx_nand.c s3c2410_nand.c s3c2412_nand.c s3c2440_nand.c s3c2443_nand.c lpc288x.c ocl.c mflash.c
 noinst_HEADERS = flash.h lpc2000.h cfi.h non_cfi.h at91sam7.h at91sam7_old.h str7x.h str9x.h nand.h lpc3180_nand_controller.h \
-				 stellaris.h str9xpec.h stm32x.h tms470.h s3c24xx_nand.h s3c24xx_regs_nand.h lpc288x.h mflash.h
+				 stellaris.h str9xpec.h stm32x.h tms470.h s3c24xx_nand.h s3c24xx_regs_nand.h lpc288x.h mflash.h \
+				 ocl.h
diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am
index 9d9a79c5c114c0496117f2809c4dbb9cee35ae95..d81e7d20dfe4335b88d62753fa300d891b7138a7 100644
--- a/src/helper/Makefile.am
+++ b/src/helper/Makefile.am
@@ -13,7 +13,8 @@ libhelper_a_SOURCES = binarybuffer.c $(CONFIGFILES) configuration.c log.c comman
 	replacements.c fileio.c startup_tcl.c
 
 noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \
-	time_support.h replacements.h fileio.h jim.h
+	time_support.h replacements.h fileio.h jim.h jim-eventloop.h \
+	startup.tcl bin2char.c
 
 bin2char$(EXEEXT_FOR_BUILD): bin2char.c
 	${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@