Last change
on this file since 522 was
522,
checked in by david, 10 years ago
|
- Add install target, and fix cflags
|
File size:
662 bytes
|
Line | |
---|
1 | ZRPATH=../../.. |
---|
2 | include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts |
---|
3 | CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | ifneq ($(MS_FILE),) |
---|
8 | MS_FILES=${ZRPATH}/zoo-kernel/${MS_FILE} -lmapserver |
---|
9 | else |
---|
10 | MS_FILES= |
---|
11 | endif |
---|
12 | |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | cgi-env/wps_status.zo: service.c |
---|
18 | g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ../../../zoo-kernel/service_internal.o ${MS_FILE} ${MS_LDFLAGS} ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} -lfcgi |
---|
19 | |
---|
20 | install: |
---|
21 | install -d ${CGI_DIR} |
---|
22 | install cgi-env/* ${CGI_DIR}/ |
---|
23 | clean: |
---|
24 | rm -f cgi-env/wps_status.zo |
---|
Note: See
TracBrowser
for help on using the repository browser.