Last change
on this file since 2540 was
1234,
checked in by mitchb, 15 years ago
|
Package the php scripts.so logging module
stupid_server_install_kludges--;
|
File size:
473 bytes
|
Rev | Line | |
---|
[1234] | 1 | CC = @CC@ |
---|
| 2 | CFLAGS = @CFLAGS@ |
---|
| 3 | prefix = @prefix@ |
---|
| 4 | exec_prefix = @exec_prefix@ |
---|
| 5 | bindir = @bindir@ |
---|
| 6 | MODS = scripts |
---|
| 7 | |
---|
| 8 | all-local: $(patsubst %,.libs/%.so,$(MODS)) |
---|
| 9 | |
---|
| 10 | .libs/%.so: %.c |
---|
| 11 | $(CC) $(CFLAGS) -c $< |
---|
| 12 | |
---|
| 13 | install: |
---|
| 14 | install -p -m755 -D .libs/scripts.so $(DESTDIR)/usr/lib64/php/modules/scripts.so |
---|
| 15 | |
---|
| 16 | clean: |
---|
| 17 | rm -f $(MODS:=.so) $(MODS:=.o) $(MODS:=.la) $(MODS:=.lo) $(MODS:=.slo) $(MODS:=.lai) |
---|
| 18 | rm -rf .libs modules |
---|
| 19 | |
---|
| 20 | distclean: clean |
---|
| 21 | rm -f configure config.* Makefile |
---|
| 22 | rm -rf auto*.cache |
---|
Note: See
TracBrowser
for help on using the repository browser.