File: Makefile.am

package info (click to toggle)
geda-gsymcheck 20050313-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 904 kB
  • ctags: 132
  • sloc: sh: 3,465; ansic: 1,587; makefile: 138
file content (33 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (3)
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
## Process this file with automake to produce Makefile.in

bin_PROGRAMS = gsymcheck 

# don't forget all *.h files */
gsymcheck_SOURCES = \
		g_rc.c g_register.c globals.c gsymcheck.c i_vars.c \
		parsecmd.c s_check.c s_symstruct.c

if CCISGCC
AM_CFLAGS = -Wall
endif

INCLUDES = -I$(top_srcdir)/include @GSYMCHECK_CFLAGS@
gsymcheck_LDADD = @GSYMCHECK_LDFLAGS@

EXTRA_DIST = create_proto 

CPROTO =        cproto
CPROTOCFLAGS =  $(INCLUDES) -I. -I.. -I../include
ALES_HACK =     -D__GNUC__

proto: prototype.h

prototype.h: $(gschem_SOURCES)
	$(CPROTO) $(ALES_HACK) $(CPROTOCFLAGS) *.c > new_proto
	mv new_proto ../include/prototype.h

MOSTLYCLEANFILES = *.log *.ps core FILE *~ prototype.bak
CLEANFILES = *.log *.ps core FILE *~ prototype.bak
DISTCLEANFILES = *.log core FILE *~ prototype.bak
MAINTAINERCLEANFILES = *.log *.ps core FILE *~ prototype.bak prototype.h Makefile.in configure