Changeset 7
- Timestamp:
- 04/12/07 13:36:15
(2 years ago)
- Author:
- bwilliams
- Message:
patching makefiles
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
- Property svn:ignore set to
.project
| r5 |
r7 |
|
| 1 | 1 | # Subdirectories which contain targets |
|---|
| 2 | | SUBDIRS=src tests examples bindings |
|---|
| | 2 | SUBDIRS=src tests examples bindings/java |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | # Installation directories |
|---|
| … | … | |
| 34 | 34 | $(MAKE) -C man install |
|---|
| 35 | 35 | $(MAKE) -C examples install |
|---|
| 36 | | $(MAKE) -C bindings install |
|---|
| | 36 | # $(MAKE) -C bindings install |
|---|
| 37 | 37 | |
|---|
| 38 | 38 | install-policy: |
|---|
| r4 |
r7 |
|
| 10 | 10 | install -m 644 examples/* $(INSTDIR)/examples |
|---|
| 11 | 11 | install -m 644 sipc_java_wrapper/* $(INSTDIR)/sipc_java_wrapper |
|---|
| 12 | | cp -a sipc_java $(INSTDIR) |
|---|
| | 12 | cp -a com $(INSTDIR) |
|---|
| 13 | 13 | |
|---|
| 14 | 14 | javadoc: |
|---|
| r4 |
r7 |
|
| 1 | 1 | FILES=$(wildcard *.java) |
|---|
| 2 | 2 | CLASSES=$(FILES:.java=.class) |
|---|
| 3 | | CLASSPATH=./:.. |
|---|
| 4 | | JFLAGS=-cp $(CLASSPATH) -1.5 |
|---|
| 5 | | ifeq ($(DEBUG),1) |
|---|
| 6 | | JFLAGS+=-warn:+null |
|---|
| 7 | | endif |
|---|
| | 3 | CLASSPATH=.:.. |
|---|
| | 4 | |
|---|
| | 5 | # uncomment this region for gcj |
|---|
| | 6 | # JFLAGS=-cp $(CLASSPATH) -1.5 |
|---|
| | 7 | # ifeq ($(DEBUG),1) |
|---|
| | 8 | # JFLAGS+=-warn:+null |
|---|
| | 9 | # endif |
|---|
| | 10 | |
|---|
| | 11 | # use this region for sun's java |
|---|
| | 12 | JFLAGS=-cp $(CLASSPATH) -source 1.5 |
|---|
| 8 | 13 | |
|---|
| 9 | 14 | SIPC_KEYS=sipc_mq_key sipc_shm_key |
|---|
| r4 |
r7 |
|
| 11 | 11 | # of the library search path. |
|---|
| 12 | 12 | |
|---|
| 13 | | JNI_CFLAGS=-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux |
|---|
| | 13 | #JNI_CFLAGS=-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux |
|---|
| | 14 | JNI_CFLAGS=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux |
|---|
| 14 | 15 | SIPC_CFLAGS= |
|---|
| 15 | 16 | SIPC_LDFLAGS= |
|---|
| r4 |
r7 |
|
| 60 | 60 | |
|---|
| 61 | 61 | clean: |
|---|
| 62 | | @$(MAKE) -f /usr/share/selinux/devel/include/Makefile clean |
|---|
| | 62 | @if [ -f /usr/share/selinux/devel/include/Makefile ]; then \ |
|---|
| | 63 | @$(MAKE) -f /usr/share/selinux/devel/include/Makefile clean; \ |
|---|
| | 64 | fi |
|---|
| 63 | 65 | |
|---|
| 64 | 66 | .PHONY: setup install clean remove-policy install-policy |
|---|
| r4 |
r7 |
|
| 6 | 6 | |
|---|
| 7 | 7 | test_ipc: test_ipc.c shm.h shm.c mqueue.h mqueue.c |
|---|
| 8 | | $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ |
|---|
| | 8 | $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@ |
|---|
| 9 | 9 | |
|---|
| 10 | 10 | ipc_creator: ipc_creator.c |
|---|
Download in other formats:
* Generating other formats may take time.