summaryrefslogtreecommitdiff
path: root/devel/asis-gpl/files/patch-ab
blob: 66233250fa0ea00ac43e2b7ce283b084ca39520c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- obj/Makefile.dist	Wed Jul 19 21:09:05 2000
+++ obj/Makefile	Tue Dec 19 18:16:57 2000
@@ -18,11 +18,11 @@
 endif
 
 bld-objs:
-	gcc -c $(GNATMAKE_FLAGS) -I$(GNAT_DIR) -I$(ASIS_DIR) install_asis.adb
+	$(CC) -c $(GNATMAKE_FLAGS) -I$(GNAT_DIR) -I$(ASIS_DIR) install_asis.adb
 #	install_asis.adb is not '-gnatg-compilable'
 ifeq "$(findstring hppa, $(host))" "hppa"
 # this file has problems when compiled with optimization see 7418-013
-	gcc -c  -I$(GNAT_DIR)  $(CFLAGS) -O0 $(ASIS_DIR)/a4g-a_sinput.adb
+	$(CC) -c  -I$(GNAT_DIR)  $(CFLAGS) -O0 $(ASIS_DIR)/a4g-a_sinput.adb
 endif
 	gnatmake -c $(GNATMAKE_FLAGS) -aI$(GNAT_DIR) -aI$(ASIS_DIR) $(CFLAGS)\
 	         install_asis.adb \
@@ -31,11 +31,11 @@
 
 libasis$(soext): clean
 	$(MAKE) -e bld-objs CFLAGS="$(CFLAGS) -fPIC"
-	gcc -shared -o libasis$(soext) *$(objext)
+	$(CC) -shared -o libasis$(soext) *$(objext)
 
 clean:
 	$(RM) *$(objext)
 	$(RM) *.ali
 	$(RM) *$(arext)
 	$(RM) *$(soext)
-	$(RM) *~
+	$(RM) *~