42 lines
1.2 KiB
Makefile
42 lines
1.2 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-ip-add-dialog.c ni-ip-add-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)
|
|
|