Last change
on this file since 616 was
522,
checked in by david, 10 years ago
|
- Add install target, and fix cflags
|
File size:
699 bytes
|
Rev | Line | |
---|
[284] | 1 | ZRPATH=../../.. |
---|
| 2 | include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts |
---|
[522] | 3 | CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${GEOS_CFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG |
---|
[1] | 4 | |
---|
[491] | 5 | ifneq ($(MS_FILE),) |
---|
| 6 | MS_FILES=${ZRPATH}/zoo-kernel/${MS_FILE} -lmapserver |
---|
| 7 | else |
---|
| 8 | MS_FILES= |
---|
| 9 | endif |
---|
| 10 | |
---|
[26] | 11 | cgi-env/ogr_service.zo: service.c |
---|
[522] | 12 | g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ../../../zoo-kernel/service_internal.o ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS} ${MS_FILES} -lfcgi -lpthread |
---|
[1] | 13 | |
---|
[522] | 14 | install: |
---|
| 15 | install -d ${CGI_DIR}/ogr/base-vect-ops |
---|
| 16 | install cgi-env/* ${CGI_DIR}/ogr/base-vect-ops |
---|
[499] | 17 | |
---|
[1] | 18 | clean: |
---|
| 19 | rm -f cgi-env/ogr_service.zo |
---|
Note: See
TracBrowser
for help on using the repository browser.