File: Makefile.am

package info (click to toggle)
gwave 19990927-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,416 kB
  • ctags: 401
  • sloc: ansic: 3,973; sh: 334; makefile: 77
file content (35 lines) | stat: -rw-r--r-- 956 bytes parent folder | download
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