Replace generic C wrapper with individual programs
* src/wrapper.c: Delete. * src/crontab.c: New file. * src/mcron.c: Likewise. * src/cron.c: Likewise. * configure.ac: Adapt 'AC_CONFIG_DIR' to use "src/mcron.c". * Makefile.am (bin_crontab_SOURCES, bin_cron_SOURCES) (bin_mcron_SOURCES): Use new files. (bin_cron_CPPFLAGS, bin_mcron_CPPFLAGS, bin_crontab_CPPFLAGS): Delete.
This commit is contained in:
		
					parent
					
						
							
								9b52c0d454
							
						
					
				
			
			
				commit
				
					
						c01106387f
					
				
			
		
					 5 changed files with 113 additions and 28 deletions
				
			
		|  | @ -38,16 +38,13 @@ AM_CPPFLAGS = \ | |||
| AM_CFLAGS = @GUILE_CFLAGS@ | ||||
| LDADD = @GUILE_LIBS@ src/libmcron.a | ||||
| 
 | ||||
| bin_mcron_SOURCES = src/wrapper.c | ||||
| bin_mcron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"mcron\"" | ||||
| bin_mcron_SOURCES = src/mcron.c | ||||
| bin_mcron_DEPENDENCIES = $(compiled_modules) | ||||
| 
 | ||||
| bin_cron_SOURCES = src/wrapper.c | ||||
| bin_cron_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"cron\"" | ||||
| bin_cron_SOURCES = src/cron.c | ||||
| bin_cron_DEPENDENCIES = $(compiled_modules) | ||||
| 
 | ||||
| bin_crontab_SOURCES = src/wrapper.c | ||||
| bin_crontab_CPPFLAGS = $(AM_CPPFLAGS) -DPROGRAM="\"crontab\"" | ||||
| bin_crontab_SOURCES = src/crontab.c | ||||
| bin_crontab_DEPENDENCIES = $(compiled_modules) | ||||
| 
 | ||||
| # wrapper to be used in the build environment and for running tests. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Mathieu Lirzin
				Mathieu Lirzin