• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CFLAGS = -Wall -W -O2
2
3OBJS = 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
10dnsmasq : $(OBJS)
11	$(CC) $(LDFLAGS) -o $@  $(OBJS) $(DNSMASQ_LIBS) $(LIBS)
12
13dnsmasq.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