Changeset 83
- Timestamp:
- 06/01/07 15:15:51
(2 years ago)
- Author:
- csellers
- Message:
modification to Makefile to detect 32/64 bit and install accordingly
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r77 |
r83 |
|
| 11 | 11 | |
|---|
| 12 | 12 | LIB_SECURITY=/lib/security |
|---|
| | 13 | LIB64_SECURITY=/lib64/security |
|---|
| 13 | 14 | SBIN=/sbin |
|---|
| 14 | 15 | DOC=/usr/share/doc/pam_tally3 |
|---|
| | 16 | ARCH=$(shell uname -i) |
|---|
| 15 | 17 | |
|---|
| 16 | 18 | all: $(PAM_MODULE) $(APP) |
|---|
| … | … | |
| 28 | 30 | rm -f *.o $(PAM_MODULE) $(APP) |
|---|
| 29 | 31 | |
|---|
| 30 | | install: |
|---|
| | 32 | install: install$(ARCH) |
|---|
| | 33 | |
|---|
| | 34 | installi386: |
|---|
| 31 | 35 | test -d $(DESTDIR)$(LIB_SECURITY) || install -m 755 -d $(DESTDIR)$(LIB_SECURITY) |
|---|
| 32 | 36 | test -d $(DESTDIR)$(SBIN) || install -m 755 -d $(DESTDIR)$(SBIN) |
|---|
| … | … | |
| 35 | 39 | install -s -m755 $(APP) $(DESTDIR)$(SBIN) |
|---|
| 36 | 40 | install -m644 doc/* $(DESTDIR)$(DOC) |
|---|
| | 41 | |
|---|
| | 42 | installx86_64: |
|---|
| | 43 | test -d $(DESTDIR)$(LIB64_SECURITY) || install -m 755 -d $(DESTDIR)$(LIB64_SECURITY) |
|---|
| | 44 | test -d $(DESTDIR)$(SBIN) || install -m 755 -d $(DESTDIR)$(SBIN) |
|---|
| | 45 | test -d $(DESTDIR)$(DOC) || install -m 755 -d $(DESTDIR)$(DOC) |
|---|
| | 46 | install -s -m755 $(PAM_MODULE) $(DESTDIR)$(LIB64_SECURITY) |
|---|
| | 47 | install -s -m755 $(APP) $(DESTDIR)$(SBIN) |
|---|
| | 48 | install -m644 doc/* $(DESTDIR)$(DOC) |
|---|
Download in other formats:
* Generating other formats may take time.