Mercurial > hg > sidinfo
annotate Makefile @ 409:5a27c0fbbf20 default tip
Added tag rel-1_0_1 for changeset f18129e65b6f
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 20 Dec 2023 08:08:38 +0200 |
parents | 964ae4f29138 |
children |
rev | line source |
---|---|
0 | 1 # |
2 # Configuration settings for Linux and generic UNIX | |
3 # See other Makefile.* files for more options. | |
4 # | |
5 | |
130 | 6 # Compiler, flags and linker flags |
68 | 7 PREFIX ?= /usr/local |
130 | 8 |
9 BINTOOL_PREFIX = | |
0 | 10 |
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
11 CFLAGS += -DHAVE_CONFIG_H |
68 | 12 LDFLAGS += |
0 | 13 |
157
8fc887cb56d0
Implement iconv support for converting from PSID de-facto latin-1/ISO-8859-*
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
14 CFLAGS += -DHAVE_ICONV |
8fc887cb56d0
Implement iconv support for converting from PSID de-facto latin-1/ISO-8859-*
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
15 |
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
16 CFLAGS += -DHAVE_STRING_H |
393
db64a58314a9
Renaming BOOL->bool and TRUE/FALSE to true/false, and using stdbool.h if available.
Matti Hamalainen <ccr@tnsp.org>
parents:
346
diff
changeset
|
17 CFLAGS += -DHAVE_STDBOOL_H |
298 | 18 CFLAGS += -DHAVE_INTTYPES_H |
19 #CFLAGS += -DHAVE_STDINT_H | |
0 | 20 #CFLAGS += -DHAVE_SYS_TYPES_H |
21 | |
22 # Miscellaneous | |
346 | 23 BINPATH = ./ |
24 OBJPATH = obj/unix/ | |
25 BINEXT = | |
0 | 26 |
27 | |
4 | 28 ### |
29 ### Stuff | |
30 ### | |
346 | 31 ENDIANCHK_BIN = $(BINPATH)endianchk$(BINEXT) |
68 | 32 NOINST_TARGETS += $(ENDIANCHK_BIN) config.h |
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
33 THLIBS_DEP += config.h |
4 | 34 |
405
964ae4f29138
Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents:
393
diff
changeset
|
35 include Makefile.common |
4 | 36 |
37 | |
68 | 38 install: all |
39 @for fn in $(TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done |