NetworkInador/client-gtk/Makefile.am

47 lines
1.4 KiB
Makefile

# Automake file for NetworkInador GTK Client
BUILT_SOURCES = \
ni-marshal.c \
ni-marshal.h
bin_PROGRAMS = inador-gtk-client
inador_gtk_client_SOURCES = main.c \
ni-client.c ni-client.h \
ni-interface.c ni-interface.h \
ni-window-interface.c ni-window-interface.h \
ni-ip.c ni-ip.h \
ni-add-ip-dialog.c ni-add-ip-dialog.h \
ni-interface-filter.c ni-interface-filter.h \
ni-interface-chooser-dialog.c ni-interface-chooser-dialog.h \
ni-route.c ni-route.h \
ni-window-route.c ni-window-route.h \
ni-add-route-dialog.c ni-add-route-dialog.h \
$(BUILT_SOURCES)
#inador_gtk_client_CPPFLAGS = -DGAMEDATA_DIR=\"$(gamedatadir)/\" -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS)
inador_gtk_client_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS)
inador_gtk_client_CFLAGS = $(GTK_CFLAGS) $(AM_CFLAGS)
inador_gtk_client_LDADD = $(GTK_LIBS)
LDADD = $(LIBINTL)
ni-marshal.h: $(srcdir)/ni-marshal.list
$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_ni_marshal $(srcdir)/ni-marshal.list \
--header \
--internal > ni-marshal.h.tmp \
&& mv ni-marshal.h.tmp ni-marshal.h ) \
|| ( rm -f ni-marshal.h.tmp && exit 1 )
ni-marshal.c: $(srcdir)/ni-marshal.list
$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_ni_marshal $(srcdir)/ni-marshal.list \
--header \
--body \
--internal > ni-marshal.c.tmp \
&& mv ni-marshal.c.tmp ni-marshal.c ) \
|| ( rm -f ni-marshal.c.tmp && exit 1 )
EXTRA_DIST = ni-marshal.list
CLEANFILES = \
$(BUILT_SOURCES)