Check-in [d1bb46ffbf]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Preliminary autoconf bits
Timelines: family | ancestors | descendants | both | autoconf
Files: files | file ages | folders
SHA1: d1bb46ffbf335715a0215e106ff40ac40414bf3c
User & Date: bapt 2014-06-16 12:49:55
Context
2014-06-16
12:57
Check for sqlite3 check-in: 585203f209 user: bapt tags: autoconf
12:49
Preliminary autoconf bits check-in: d1bb46ffbf user: bapt tags: autoconf
2013-07-22
14:53
Provide tags to the hdf check-in: 8337ec35af user: bapt tags: trunk
Changes

Deleted Makefile.

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
CC?=		gcc
INCLUDES=	-I/usr/local/include -I/usr/local/include/ClearSilver
LIBDIR=		-L/usr/local/lib
LIBS=		-lz -lneo_cs -lneo_utl -lneo_cgi -lexpat -lcurl -lsqlite3
LDFLAGS+=	${LIBDIR}
CFLAGS+=	-Wall -Werror -pipe -O0 -ggdb

PROG=		cplanet
SRCS=		cplanet.c
OBJS=		${SRCS:.c=.o}

PREFIX?=	/usr/local
BINDIR?=	${PREFIX}/bin
MANDIR?=	${PREFIX}/man/man1

all: ${PROG}

${PROG}: ${OBJS}
	${CC} ${LDFLAGS} ${INCLUDES} ${OBJS} -o $@ ${LIBS}

.c.o:
	${CC} -o $@ -c $< ${CFLAGS} ${INCLUDES}

install:
	install -o root -g wheel -m 755 ${PROG} ${BINDIR}
	install -o root -g wheel -m 755 ${PROG}.1 ${MANDIR}

deinstall:
	rm -f ${BINDIR}/${PROG}
	rm -f ${MANDIR}/${PROG}.1

clean:
	rm -f ${PROG} *.o *.core
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<


































































Added Makefile.am.





>
>
1
2
bin_PROGRAMS=	cplanet
cplanet_SOURCES=	cplanet.c

Added configure.ac.























>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
AC_INIT([cplanet],[0.11],[https://fossil.etoilebsd.net/cplanet],[cplanet])
AC_CONFIG_SRCDIR([configure.ac])
AC_CANONICAL_TARGET

AM_INIT_AUTOMAKE([1.11 foreign subdir-objects no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])

AC_PROG_CC_STDC

AC_CONFIG_FILES([Makefile])
AC_OUTPUT