mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
18 lines
595 B
Makefile
18 lines
595 B
Makefile
CFLAGS = -Wall -W -O2
|
|
|
|
OBJS = cache.o rfc1035.o util.o option.o forward.o network.o \
|
|
dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o \
|
|
helper.o tftp.o log.o
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) $(COPTS) $(DBUS_MINOR) $(I18N) $(DBUS_CFLAGS) $(SUNOS_VER) $(RPM_OPT_FLAGS) -c $<
|
|
|
|
dnsmasq : $(OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(DBUS_LIBS) $(SUNOS_LIBS) $(LIBS)
|
|
|
|
dnsmasq.pot : $(OBJS:.o=.c) dnsmasq.h config.h
|
|
xgettext -d dnsmasq --foreign-user --keyword=_ -o dnsmasq.pot -i $(OBJS:.o=.c)
|
|
|
|
%.mo : ../po/%.po dnsmasq.pot
|
|
msgmerge -o - ../po/$*.po dnsmasq.pot | msgfmt -o $*.mo -
|