equal
deleted
inserted
replaced
26 # Except as contained in this notice, the name of a copyright holder |
26 # Except as contained in this notice, the name of a copyright holder |
27 # shall not be used in advertising or otherwise to promote the sale, use |
27 # shall not be used in advertising or otherwise to promote the sale, use |
28 # or other dealings in this Software without prior written authorization |
28 # or other dealings in this Software without prior written authorization |
29 # of the copyright holder. |
29 # of the copyright holder. |
30 # |
30 # |
31 #ident "@(#)Makefile 1.1 09/11/09 SMI" |
31 #ident "@(#)Makefile 1.2 09/11/10 SMI" |
32 # |
32 # |
33 |
33 |
34 # Manual conversion of X11R6.9 xc/config/pswrap/Imakefile |
34 # Manual conversion of X11R6.9 xc/config/pswrap/Imakefile |
35 |
35 |
36 CC = cc |
36 CC = cc |
66 $(V_CC)$(CC) -c $(CFLAGS) $(CPPFLAGS) $(FRIENDSDEF) $*.c |
66 $(V_CC)$(CC) -c $(CFLAGS) $(CPPFLAGS) $(FRIENDSDEF) $*.c |
67 |
67 |
68 .c.o: |
68 .c.o: |
69 $(V_CC)$(CC) $(CFLAGS) $(CPPFLAGS) -c $(OUTPUT_OPTION) $< |
69 $(V_CC)$(CC) $(CFLAGS) $(CPPFLAGS) -c $(OUTPUT_OPTION) $< |
70 |
70 |
71 pswparse.h + pswparser.c : pswparser.y |
71 pswparser.h + pswparser.c : pswparser.y |
72 $(V_YACC)$(YACC) $(YFLAGS) pswparser.y ; \ |
72 $(V_YACC)$(YACC) $(YFLAGS) pswparser.y ; \ |
73 mv y.tab.c pswparser.c ; \ |
73 mv y.tab.c pswparser.c ; \ |
74 mv y.tab.h pswparser.h |
74 mv y.tab.h pswparser.h |
75 |
75 |
76 install: pswrap |
76 install: pswrap |
77 $(INSTALL) pswrap $(DESTDIR)$(bindir)/pswrap |
77 $(INSTALL) pswrap $(DESTDIR)$(bindir)/pswrap |
78 |
78 |
79 clean: |
79 clean: |
80 ${RM} lexer.c y.tab.h pswparser.c *.o pswrap |
80 ${RM} lexer.c y.tab.h pswparser.c *.o pswrap |
81 |
81 |
|
82 lexer.o: pswparser.h |