projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 4.1.0
[clsql.git]
/
Makefile.common
diff --git
a/Makefile.common
b/Makefile.common
index a7f36a2247b5810265ef7b2e53a46844a32adb8d..87e43ef497a7c743af73376903d4c978df1d7ad8 100644
(file)
--- a/
Makefile.common
+++ b/
Makefile.common
@@
-1,10
+1,18
@@
+UNAME=$(shell uname)
+
+OS_AIX=$(shell expr "$(UNAME)" : '.*AIX.*')
+OS_SUNOS=$(shell expr "$(UNAME)" : '.*SunOS.*')
+OS_DARWIN=$(shell expr "$(UNAME)" : '.*Darwin.*')
+OS_CYGWIN=$(shell expr "$(UNAME)" : '.*CYGWIN.*')
+
all:
.PHONY: clean
clean:
@rm -rf .bin
all:
.PHONY: clean
clean:
@rm -rf .bin
- @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl
+ @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl *.pfsl *.dfsl
+ @rm -f *.fasla8 *.fasla16 *.faslm8 *.faslm16 *.faslmt
@rm -f *~ *.bak *.orig *.err \#*\# .#*
@rm -f *.so *.a
@rm -rf debian/cl-sql
@rm -f *~ *.bak *.orig *.err \#*\# .#*
@rm -f *.so *.a
@rm -rf debian/cl-sql
@@
-13,4
+21,10
@@
ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
$(MAKE) -C $$i $@; done
endif
$(MAKE) -C $$i $@; done
endif
+distclean: clean
+ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
+ @set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \
+ $(MAKE) -C $$i $@; done
+endif
+
.SUFFIXES: # No default suffixes
.SUFFIXES: # No default suffixes