Updated copyright date for the new year.
[geda-gaf/whiteaudio.git] / gsymcheck / src / Makefile.am
blob4bbba68c8f6868a3118ac2953e8c835e53855c9f
1 ## Process this file with automake to produce Makefile.in
3 bin_PROGRAMS = gsymcheck 
5 # don't forget all *.h files */
6 gsymcheck_SOURCES = \
7                 g_rc.c g_register.c globals.c gsymcheck.c i_vars.c \
8                 parsecmd.c s_check.c s_symstruct.c
10 if CCISGCC
11 AM_CFLAGS = -Wall
12 endif
14 INCLUDES = -I$(top_srcdir)/include @GSYMCHECK_CFLAGS@
15 gsymcheck_LDADD = @GSYMCHECK_LDFLAGS@
17 EXTRA_DIST = create_proto 
19 CPROTO =        cproto
20 CPROTOCFLAGS =  $(INCLUDES) -I. -I.. -I../include
21 ALES_HACK =     -D__GNUC__
23 proto: prototype.h
25 prototype.h: $(gschem_SOURCES)
26         $(CPROTO) $(ALES_HACK) $(CPROTOCFLAGS) *.c > new_proto
27         mv new_proto ../include/prototype.h
29 MOSTLYCLEANFILES = *.log *.ps core FILE *~ prototype.bak
30 CLEANFILES = *.log *.ps core FILE *~ prototype.bak
31 DISTCLEANFILES = *.log core FILE *~ prototype.bak
32 MAINTAINERCLEANFILES = *.log *.ps core FILE *~ prototype.bak prototype.h Makefile.in configure