~ubuntu-branches/ubuntu/trusty/geda-utils/trusty

« back to all changes in this revision

Viewing changes to gschlas/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Hamish Moffatt
  • Date: 2005-03-15 23:04:53 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050315230453-x3x6qtw9qv17zbnf
Tags: 20050313-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
bin_PROGRAMS = gschlas 
 
4
 
 
5
# don't forget all *.h files */
 
6
gschlas_SOURCES = \
 
7
                i_vars.c g_rc.c g_register.c globals.c \
 
8
                gschlas.c parsecmd.c 
 
9
 
 
10
 
 
11
INCLUDES = @GSCHLAS_CFLAGS@ 
 
12
gschlas_LDADD = @GSCHLAS_LDFLAGS@
 
13
 
 
14
EXTRA_DIST = create_proto 
 
15
 
 
16
CPROTO =        cproto
 
17
CPROTOCFLAGS =  $(INCLUDES) -I. -I.. -I../include
 
18
ALES_HACK =     -D__GNUC__
 
19
 
 
20
proto: prototype.h
 
21
 
 
22
prototype.h: $(gschem_SOURCES)
 
23
        $(CPROTO) $(ALES_HACK) $(CPROTOCFLAGS) *.c > new_proto
 
24
        mv new_proto ../include/prototype.h
 
25
 
 
26
MOSTLYCLEANFILES = *.log *.ps core FILE *~ prototype.bak
 
27
CLEANFILES = *.log *.ps core FILE *~ prototype.bak
 
28
DISTCLEANFILES = *.log core FILE *~ prototype.bak
 
29
MAINTAINERCLEANFILES = *.log *.ps core FILE *~ prototype.bak prototype.h Makefile.in configure
 
30