Home | History | Annotate | Download | only in bld
      1 CFLAGS = -Wall -W -O2
      2 
      3 OBJS = cache.o rfc1035.o util.o option.o forward.o network.o \
      4        dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o \
      5        helper.o tftp.o log.o
      6 
      7 .c.o:
      8 	$(CC) $(CFLAGS) $(COPTS) $(I18N) $(DNSMASQ_CFLAGS) $(RPM_OPT_FLAGS) -c $<
      9 
     10 dnsmasq : $(OBJS)
     11 	$(CC) $(LDFLAGS) -o $@  $(OBJS) $(DNSMASQ_LIBS) $(LIBS) 
     12  
     13 dnsmasq.pot : $(OBJS:.o=.c) dnsmasq.h config.h
     14 	$(XGETTEXT) -d dnsmasq --foreign-user --omit-header --keyword=_ -o $@ -i $(OBJS:.o=.c)
     15 
     16 %.mo : ../po/%.po dnsmasq.pot
     17 	$(MSGMERGE) -o - ../po/$*.po dnsmasq.pot | $(MSGFMT) -o $*.mo -
     18