The MinGW.org Installation Manager Tool
Révision | 84806c36cd2d54872a4a8ae28166b41a178a02af (tree) |
---|---|
l'heure | 2009-11-01 06:08:41 |
Auteur | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Set up build mechanism.
@@ -1,4 +1,2 @@ | ||
1 | -bin | |
2 | -obj | |
3 | -mingw-get.layout | |
4 | -mingw-get.depend | |
\ No newline at end of file | ||
1 | +configure autom4te.cache | |
2 | +bin obj mingw-get.layout mingw-get.depend |
@@ -1,3 +1,10 @@ | ||
1 | +2009-10-31 Keith Marshall <keithmarshall@users.sourceforge.net> | |
2 | + | |
3 | + Set up build mechanism. | |
4 | + | |
5 | + * configure.ac, Makefile.in: New files. | |
6 | + * .cvsignore (configure, autom4te.cache): Add to ignored files. | |
7 | + | |
1 | 8 | 2009-10-30 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 9 | |
3 | 10 | Add GPL-v3 licensing terms. |
@@ -0,0 +1,69 @@ | ||
1 | +# @configure_input@ | |
2 | +# | |
3 | +# $Id$ | |
4 | +# | |
5 | +# Written by Keith Marshall <keithmarshall@users.sourceforge.net> | |
6 | +# Copyright (C) 2009, MinGW Project | |
7 | +# | |
8 | +# | |
9 | +# Makefile template for mingw-get | |
10 | +# | |
11 | +# | |
12 | +# This is free software. Permission is granted to copy, modify and | |
13 | +# redistribute this software, under the provisions of the GNU General | |
14 | +# Public License, Version 3, (or, at your option, any later version), | |
15 | +# as published by the Free Software Foundation; see the file COPYING | |
16 | +# for licensing details. | |
17 | +# | |
18 | +# Note, in particular, that this software is provided "as is", in the | |
19 | +# hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not | |
20 | +# even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY | |
21 | +# PARTICULAR PURPOSE. Under no circumstances will the author, or the | |
22 | +# MinGW Project, accept liability for any damages, however caused, | |
23 | +# arising from the use of this software. | |
24 | +# | |
25 | +srcdir = @srcdir@ | |
26 | + | |
27 | +VPATH = ${srcdir}/src ${srcdir}/src/pkginfo ${srcdir}/tinyxml | |
28 | + | |
29 | +CC = @CC@ | |
30 | +CFLAGS = @CFLAGS@ | |
31 | +CPPFLAGS = @CPPFLAGS@ $(INCLUDES) | |
32 | + | |
33 | +CXX = @CXX@ | |
34 | +CXXFLAGS = $(CFLAGS) | |
35 | + | |
36 | +INCLUDES = -I ${srcdir}/src -I ${srcdir}/src/pkginfo | |
37 | + | |
38 | +LEX = @LEX@ | |
39 | + | |
40 | +AR = @AR@ | |
41 | +ARFLAGS = @ARFLAGS@ | |
42 | + | |
43 | +OBJEXT = @OBJEXT@ | |
44 | +EXEEXT = @EXEEXT@ | |
45 | + | |
46 | +LDFLAGS = @LDFLAGS@ | |
47 | +LIBS = @LIBS@ | |
48 | + | |
49 | +%.$(OBJEXT): %.c | |
50 | + $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< | |
51 | + | |
52 | +%.$(OBJEXT): %.cpp | |
53 | + $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $< | |
54 | + | |
55 | +all: pkginfo$(EXEEXT) | |
56 | + | |
57 | +pkginfo$(EXEEXT): driver.$(OBJEXT) pkginfo.$(OBJEXT) | |
58 | + $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $+ | |
59 | + | |
60 | +driver.$(OBJEXT): pkginfo.h | |
61 | +pkginfo.$(OBJEXT): pkginfo.l pkginfo.h | |
62 | + | |
63 | +clean: | |
64 | + rm -f *.$(OBJEXT) *.dll pkginfo$(EXEEXT) | |
65 | + | |
66 | +distclean: clean | |
67 | + rm -f config.* Makefile | |
68 | + | |
69 | +# $RCSfile$: end of file |
@@ -0,0 +1,46 @@ | ||
1 | +# configure.ac -*- autoconf -*- vim: filetype=config | |
2 | +# | |
3 | +# $Id$ | |
4 | +# | |
5 | +# Written by Keith Marshall <keithmarshall@users.sourceforge.net> | |
6 | +# Copyright (C) 2009, MinGW Project | |
7 | +# | |
8 | +# | |
9 | +# Configuration script for mingw-get | |
10 | +# | |
11 | +# | |
12 | +# This is free software. Permission is granted to copy, modify and | |
13 | +# redistribute this software, under the provisions of the GNU General | |
14 | +# Public License, Version 3, (or, at your option, any later version), | |
15 | +# as published by the Free Software Foundation; see the file COPYING | |
16 | +# for licensing details. | |
17 | +# | |
18 | +# Note, in particular, that this software is provided "as is", in the | |
19 | +# hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not | |
20 | +# even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY | |
21 | +# PARTICULAR PURPOSE. Under no circumstances will the author, or the | |
22 | +# MinGW Project, accept liability for any damages, however caused, | |
23 | +# arising from the use of this software. | |
24 | +# | |
25 | + AC_INIT([mingw-get],[0.0],[http://mingw.org/reporting_bugs]) | |
26 | + | |
27 | +# We need both C and C++ compilers; check how to invoke them | |
28 | +# | |
29 | + AC_PROG_CC | |
30 | + AC_PROG_CXX | |
31 | + | |
32 | +# We also need a lexical analyser generator | |
33 | +# | |
34 | + AC_PROG_LEX | |
35 | + | |
36 | +# Set up the archive librarian, to match our compiler settings | |
37 | +# | |
38 | + AC_CHECK_TOOL([AR],[ar],[ar]) | |
39 | + AC_SUBST([ARFLAGS],[${ARFLAGS-rcs}]) | |
40 | + | |
41 | +# Create a makefile | |
42 | +# | |
43 | + AC_CONFIG_FILES([Makefile]) | |
44 | + AC_OUTPUT | |
45 | +# | |
46 | +# $RCSfile$: end of file |