Makefile.am revision 1.1.1.2
1NULL= 2#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies 3AUTOMAKE_OPTIONS = 4BUILT_SOURCES = 5noinst_LIBRARIES = @MAKE_LIBPARSE@ @MAKE_LIBPARSE_KERNEL@ 6EXTRA_LIBRARIES = libparse.a libparse_kernel.a 7EXTRA_PROGRAMS = parsestreams parsesolaris 8noinst_PROGRAMS = @MAKE_PARSEKMODULE@ 9CLEANFILES = libparse.a libparse_kernel.a info_trimble.c 10 11K_CFLAGS = -DPARSESTREAM -DNTP_NEED_BOPS 12 13libparse_a_SOURCES = parse.c \ 14 parse_conf.c \ 15 clk_meinberg.c \ 16 clk_schmid.c \ 17 clk_rawdcf.c \ 18 clk_trimtsip.c \ 19 clk_dcf7000.c \ 20 clk_trimtaip.c \ 21 clk_rcc8000.c \ 22 clk_hopf6021.c \ 23 clk_computime.c \ 24 clk_wharton.c \ 25 clk_varitext.c \ 26 data_mbg.c \ 27 info_trimble.c \ 28 trim_info.c \ 29 binio.c \ 30 ieee754io.c \ 31 mfp_mul.c \ 32 gpstolfp.c \ 33 $(NULL) 34 35libparse_kernel_a_SOURCES = 36libparse_kernel_a_LIBADD = \ 37 kparse.o \ 38 kparse_conf.o \ 39 kclk_computime.o \ 40 kclk_dcf7000.o \ 41 kclk_hopf6021.o \ 42 kclk_meinberg.o \ 43 kclk_rawdcf.o \ 44 kclk_rcc8000.o \ 45 kclk_schmid.o \ 46 kclk_trimtaip.o \ 47 kclk_trimtsip.o \ 48 kclk_varitext.o \ 49 kclk_wharton.o \ 50 kbinio.o \ 51 kieee754io.o \ 52 kmfp_mul.o \ 53 kgpstolfp.o \ 54 $(NULL) 55 56 57INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \ 58 -I$(top_srcdir)/lib/isc/nothreads/include \ 59 -I$(top_srcdir)/lib/isc/unix/include -I$(top_srcdir)/kernel 60 61ETAGS_ARGS = Makefile.am 62 63EXTRA_DIST = parsesolaris.c parsestreams.c mkinfo_scmd.sed mkinfo_rcmd.sed info_trimble.c 64 65# 66# create info_trimble.c 67# 68info_trimble.c: $(top_srcdir)/include/trimble.h mkinfo_rcmd.sed mkinfo_scmd.sed 69 @rm -f $@ 70 sed -n -f $(srcdir)/mkinfo_scmd.sed $(top_srcdir)/include/trimble.h > $@ || rm -f $@ 71 sed -n -f $(srcdir)/mkinfo_rcmd.sed $(top_srcdir)/include/trimble.h >> $@ || rm -f $@ 72 73kieee754io.o: ieee754io.c 74 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/ieee754io.c -o $@ 75 76kmfp_mul.o: mfp_mul.c 77 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/mfp_mul.c -o $@ 78 79kgpstolfp.o: gpstolfp.c 80 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/gpstolfp.c -o $@ 81 82kbinio.o: binio.c 83 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/binio.c -o $@ 84 85kclk_computime.o: clk_computime.c 86 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_computime.c -o $@ 87 88kclk_computime_.o: clk_computime_.c 89 $(COMPILE) $(K_CFLAGS) -c clk_computime_.c -o $@ 90 91kclk_dcf7000.o: clk_dcf7000.c 92 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_dcf7000.c -o $@ 93 94kclk_dcf7000_.o: clk_dcf7000_.c 95 $(COMPILE) $(K_CFLAGS) -c clk_dcf7000_.c -o $@ 96 97kclk_hopf6021.o: clk_hopf6021.c 98 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_hopf6021.c -o $@ 99 100kclk_hopf6021_.o: clk_hopf6021_.c 101 $(COMPILE) $(K_CFLAGS) -c clk_hopf6021_.c -o $@ 102 103kclk_meinberg.o: clk_meinberg.c 104 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_meinberg.c -o $@ 105 106kclk_meinberg_.o: clk_meinberg_.c 107 $(COMPILE) $(K_CFLAGS) -c clk_meinberg_.c -o $@ 108 109kclk_rawdcf.o: clk_rawdcf.c 110 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_rawdcf.c -o $@ 111 112kclk_rawdcf_.o: clk_rawdcf_.c 113 $(COMPILE) $(K_CFLAGS) -c clk_rawdcf_.c -o $@ 114 115kclk_rcc8000.o: clk_rcc8000.c 116 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_rcc8000.c -o $@ 117 118kclk_rcc8000_.o: clk_rcc8000_.c 119 $(COMPILE) $(K_CFLAGS) -c clk_rcc8000_.c -o $@ 120 121kclk_schmid.o: clk_schmid.c 122 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_schmid.c -o $@ 123 124kclk_schmid_.o: clk_schmid_.c 125 $(COMPILE) $(K_CFLAGS) -c clk_schmid_.c -o $@ 126 127kclk_trimtaip.o: clk_trimtaip.c 128 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_trimtaip.c -o $@ 129 130kclk_trimtaip_.o: clk_trimtaip_.c 131 $(COMPILE) $(K_CFLAGS) -c clk_trimtaip_.c -o $@ 132 133kclk_trimtsip.o: clk_trimtsip.c 134 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_trimtsip.c -o $@ 135 136kclk_trimtsip_.o: clk_trimtsip_.c 137 $(COMPILE) $(K_CFLAGS) -c clk_trimtsip_.c -o $@ 138 139kclk_varitext.o: clk_varitext.c 140 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_varitext.c -o $@ 141 142kclk_varitext_.o: clk_varitext_.c 143 $(COMPILE) $(K_CFLAGS) -c clk_varitext_.c -o $@ 144 145kclk_wharton.o: clk_wharton.c 146 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/clk_wharton.c -o $@ 147 148kclk_wharton_.o: clk_wharton_.c 149 $(COMPILE) $(K_CFLAGS) -c clk_wharton_.c -o $@ 150 151kparse.o: parse.c 152 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/parse.c -o $@ 153 154kparse_.o: parse_.c 155 $(COMPILE) $(K_CFLAGS) -c parse_.c -o $@ 156 157kparse_conf.o: parse_conf.c 158 $(COMPILE) $(K_CFLAGS) -c $(srcdir)/parse_conf.c -o $@ 159 160kparse_conf_.o: parse_conf_.c 161 $(COMPILE) $(K_CFLAGS) -c parse_conf_.c -o $@ 162 163parsestreams.loadable_module.o: $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a 164 $(LD) -r -o $@ $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a 165 166parse: $(parsesolaris_OBJECTS) libparse_kernel.a ../libntp/libntp.a 167 $(LD) -r -o $@ $(parsesolaris_OBJECTS) libparse_kernel.a ../libntp/libntp.a 168 169../libntp/libntp.a: 170 cd ../libntp && $(MAKE) 171 172parsesolaris.o: sys/systm.h 173 174sys/systm.h: 175 mkdir sys && \ 176 sed -e '/ffs(.*)/d' < /usr/include/sys/systm.h > sys/systm.h 177 178include $(top_srcdir)/depsver.mf 179