1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# -*- mode: Makefile -*-
## Process this file with automake to produce Makefile.in
SUBDIRS=spicefile
INCLUDES=-I$(srcdir)/spicefile
bin_PROGRAMS = gwave
gwave_SOURCES = cmd.c gtkmisc.h wavewin.c draw.c \
gwave.c event.c gwave.h gtkmisc.c pixmaps.c wavelist.c dnd.c print.c
gwave_LDADD = $(srcdir)/spicefile/libspicefile.a
gwave_LDFLAGS = @GTK_LIBS@
CFLAGS = @CFLAGS@ @GTK_CFLAGS@
# TODO: get autoconf/automake to compile/link with these if we don't
# HAVE_POSIX_REGEXP: regexp.h regexp.c regerror.c regmagic.h
MOSTLYCLEANFILES = core *~
CLEANFILES = core *~
DISTCLEANFILES = core *~
MAINTAINERCLEANFILES = core *~
EXTRA_DIST=regexp.tar.gz gwave.gtkrc autogen.sh
# distribute some extra directories that don't have anything to build
# or install in them
dist-hook:
mkdir $(distdir)/doc
cp -p doc/* $(distdir)/doc
mkdir $(distdir)/examples
cp -p examples/* $(distdir)/examples
mkdir $(distdir)/iconwork
cp -p iconwork/* $(distdir)/iconwork
|