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