Skip to content

Commit

Permalink
move projects.h to installed headers list (OSGeo#220)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2396 4e78687f-474d-0410-85f9-8d5e500ac6b2
  • Loading branch information
warmerdam committed Oct 20, 2013
1 parent e6a8374 commit 8fb066c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2013-10-20 Frank Warmerdam <[email protected]>

* src/Makefile.am: Given up on restricting access to projects.h, and
move it back into the list of files installed normally.

* configure.in: Add C_WFLAGS support, in particular use
-Wdeclaration-after-statement to warn about code that won't work
with MSVC (#224).
Expand Down
5 changes: 3 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ EXTRA_PROGRAMS = multistresstest
INCLUDES = -DPROJ_LIB=\"$(pkgdatadir)\" \
-DMUTEX_@MUTEX_SETTING@ @JNI_INCLUDE@

include_HEADERS = proj_api.h org_proj4_Projections.h org_proj4_PJ.h geodesic.h
include_HEADERS = proj_api.h projects.h geodesic.h \
org_proj4_Projections.h org_proj4_PJ.h

EXTRA_DIST = makefile.vc proj.def

Expand All @@ -27,7 +28,7 @@ lib_LTLIBRARIES = libproj.la
libproj_la_LDFLAGS = -no-undefined -version-info 8:0:8

libproj_la_SOURCES = \
projects.h pj_list.h \
pj_list.h \
PJ_aeqd.c PJ_gnom.c PJ_laea.c PJ_mod_ster.c \
PJ_nsper.c PJ_nzmg.c PJ_ortho.c PJ_stere.c PJ_sterea.c \
PJ_aea.c PJ_bipc.c PJ_bonne.c PJ_eqdc.c PJ_isea.c \
Expand Down
6 changes: 4 additions & 2 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ AM_CFLAGS = @C_WFLAGS@
INCLUDES = -DPROJ_LIB=\"$(pkgdatadir)\" \
-DMUTEX_@MUTEX_SETTING@ @JNI_INCLUDE@

include_HEADERS = proj_api.h org_proj4_Projections.h org_proj4_PJ.h geodesic.h
include_HEADERS = proj_api.h projects.h geodesic.h \
org_proj4_Projections.h org_proj4_PJ.h

EXTRA_DIST = makefile.vc proj.def
proj_SOURCES = proj.c gen_cheb.c p_series.c
cs2cs_SOURCES = cs2cs.c gen_cheb.c p_series.c
Expand All @@ -290,7 +292,7 @@ multistresstest_LDADD = libproj.la -lpthread
lib_LTLIBRARIES = libproj.la
libproj_la_LDFLAGS = -no-undefined -version-info 8:0:8
libproj_la_SOURCES = \
projects.h pj_list.h \
pj_list.h \
PJ_aeqd.c PJ_gnom.c PJ_laea.c PJ_mod_ster.c \
PJ_nsper.c PJ_nzmg.c PJ_ortho.c PJ_stere.c PJ_sterea.c \
PJ_aea.c PJ_bipc.c PJ_bonne.c PJ_eqdc.c PJ_isea.c \
Expand Down
1 change: 1 addition & 0 deletions src/makefile.vc
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,6 @@ install: all
copy *.dll $(INSTDIR)\bin
copy *.lib $(INSTDIR)\lib
copy proj_api.h $(INSTDIR)\include
copy projects.h $(INSTDIR)\include
copy geodesic.h $(INSTDIR)\include

0 comments on commit 8fb066c

Please sign in to comment.