/*
 * $Id: Jmakefile,v 1.3 2004/08/28 06:36:27 rmanfredi Exp $
 *
 * Copyright (c) 2004, Raphael Manfredi
 *
 * Jmakefile for interface sources.
 *
 *----------------------------------------------------------------------
 * This file is part of gtk-gnutella.
 *
 *  gtk-gnutella is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  gtk-gnutella is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with gtk-gnutella; if not, write to the Free Software
 *  Foundation, Inc.:
 *      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *----------------------------------------------------------------------
 */

;# $Id: Jmakefile,v 1.3 2004/08/28 06:36:27 rmanfredi Exp $

SetSubdirs(bridge)
DependSubdirs()

SOURCES = gnet_property.c gui_property.c

++GLIB_CFLAGS $glibcflags

CFLAGS = -I$(TOP) -I.. $(GLIB_CFLAGS) -DCURDIR=$(CURRENT)
DPFLAGS = $(CFLAGS)

all:: properties

properties: gnet_property.c gui_property.c

/*
 * In case they don't have autogen, ignore the failure but make the
 * targets appear up to date
 */

gnet_property_priv.h gnet_property.c gnet_property.h: gnet_props.ag props.tpl
	-autogen gnet_props.ag
	touch gnet_property_priv.h gnet_property.c gnet_property.h

gui_property_priv.h gui_property.c gui_property.h: gui_props.ag props.tpl
	-autogen gui_props.ag
	touch gui_property_priv.h gui_property.c gui_property.h

NormalObjectTarget(gnet_property)
NormalObjectTarget(gui_property)
DependTarget()

