source: MashMyData/trunk/pam_credential_translation/Makefile @ 7744

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MashMyData/trunk/pam_credential_translation/Makefile@7744
Revision 7744, 431 bytes checked in by pjkersha, 10 years ago (diff)

Incomplete - task 19: MashMyData?: Java MyProxy? logon and init/store

  • Working PAM module to work with MyProxyCA credential translation service.
Line 
1CFLAGS =        -O2 -g -Wall -fmessage-length=0
2
3OBJS =          test_pam_cts.o
4SHARED =        $(OBJS:.c=.so)
5
6LIBS = -L. -Wl,-R. -lpam_cts -lpam -lpam_misc -lssl
7LD = gcc
8LDFLAGS = -shared -fPIC
9LIB=libpam_cts.so
10TARGET =        test_pam_cts
11
12$(TARGET):      libpam_cts.so $(OBJS)
13        $(CC) $(CFLAGS) $(LIBS) -o $@ $(OBJS)
14
15$(LIB): pam_cts.o
16        $(CC) $(CFLAGS) $(LDFLAGS) pam_cts.o -o $@
17
18all:    $(TARGET)
19
20clean:
21        rm -f $(OBJS) $(TARGET)
22        rm -f $(LIB)
23        rm -f pam_cts.o
Note: See TracBrowser for help on using the repository browser.