Mercurial > forge
annotate main/database/src/Makefile.in @ 11646:b257244ad466 octave-forge
Hopefully fix strict aliasing issues.
author | i7tiol |
---|---|
date | Mon, 22 Apr 2013 18:41:18 +0000 |
parents | 7f910799533a |
children | 3fd12a47467e |
rev | line source |
---|---|
11646 | 1 # We rely on g++ features, configure assures CXX=g++. |
2 CXX := @CXX@ | |
3 | |
4 CXXFLAGS_NSA := "$(CXXFLAGS) -g -O2 -fno-strict-aliasing" | |
5 | |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
6 OBJECTS := __pq_connect__.o pq_close.o pq_exec.o converters.o \ |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
7 converters_arr_comp.o pq_connection.o command.o \ |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
8 pq_update_types.o pq_lo.o |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
9 |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
10 pq_interface.oct: $(OBJECTS) |
11631 | 11 @MKOCTFILE@ -o pq_interface.oct -L`@PG_CONFIG@ --libdir` -lpq $(OBJECTS) |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
12 |
11646 | 13 converters.o: converters.cc converters.h wrap_endian.h |
14 CXX=$(CXX) CXXFLAGS=$(CXXFLAGS_NSA) @MKOCTFILE@ -I`@PG_CONFIG@ --includedir` -c converters.cc | |
15 | |
16 converters_arr_comp.o: converters_arr_comp.cc converters.h wrap_endian.h \ | |
17 pq_connection.h command.h | |
18 CXX=$(CXX) CXXFLAGS=$(CXXFLAGS_NSA) @MKOCTFILE@ -I`@PG_CONFIG@ --includedir` -c converters_arr_comp.cc | |
19 | |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
20 # be on the safe side with respect to include files |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
21 %.o: %.cc converters.h pq_connection.h command.h |
11646 | 22 CXX=$(CXX) @MKOCTFILE@ -I`@PG_CONFIG@ --includedir` -c $< |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
23 |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
24 .PHONY: clean |
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
25 clean: ; rm -f *.o *.oct |